Introduction
คลัง IR widgets ที่ AI ดึงผ่าน MCP ไปประกอบหน้าเว็บได้
StackUI เป็นคลัง HTML/CSS/JavaScript สำหรับเว็บไซต์นักลงทุนสัมพันธ์ แนวคิดคล้าย shadcn/ui: ผู้ใช้ได้รับ source code จริงและนำไปดูแลต่อเอง โดย StackUI ใช้ Bootstrap 5 เป็น layout base และใช้ MCP เป็นช่องทางค้นหา และส่ง widget ให้ AI
สถานะปัจจุบัน
- 17 widgets และ 32 variants ใน
widget1 - Core กลางประกอบด้วย Bootstrap 5.2.3, design tokens และ theme bridge
- ทุก widget scope ด้วย
.stk-<id> - MCP 5 tools:
list_widgets,search_widgets,get_widget,get_coreและget_layout_guide - รองรับทั้ง local stdio และ remote Streamable HTTP
- Remote MCP คืน URL ของรูปและ vendor library จาก StackUI CDN
Workflow สำหรับ AI
- เรียก
get_coreเพื่อรับ core entry และ Bootstrap JavaScript - เรียก
get_layout_guideเพื่ออ่านกติกา section/cell - ใช้
search_widgetsหรือlist_widgets - เรียก
get_widgetพร้อมid,setและvariant - เติมข้อมูลตาม
contentschema โดยไม่เปลี่ยน scope หรือ class ภายใน - Deduplicate dependencies และจัด cell ให้ผลรวม
colSpanไม่เกิน 12
Widget catalog
| กลุ่ม | Widgets |
|---|---|
| About | about, board-director, chairman-statement, company-background, timeline |
| Hero | banner |
| Financial | financial-highlight, financial-graph |
| Investor | investor-information, securities-detail |
| Shareholder | shareholder-chart, shareholder-information |
| Services | calendar, email-alert, investor-document |
| News & Contact | news, contact |
เริ่มดูรายละเอียดและ preview ได้จาก About widget หรืออ่าน Installation สำหรับการเชื่อม MCP/CDN