Default
border + bg
Nguồn sự thật cho color tokens, typography, spacing, components và patterns. Dùng để build và maintain toàn bộ portal — hỗ trợ light / dark mode.
Toàn bộ 24 components trong src/components/ui/ — mỗi card có UI demo thực tế để preview trực tiếp.
8 components
Inline label với các variants: default, secondary, destructive, outline, ghost, link.
src/components/ui/badge.tsxPrimitive: @base-ui/react/use-render + merge-props
Button đa dạng variant (default, outline, secondary, ghost, destructive, link) và size.
src/components/ui/button.tsxPrimitive: @base-ui/react/button
Modal dialog với backdrop blur, animation vào/ra, và close button tích hợp.
src/components/ui/dialog.tsxPrimitive: @base-ui/react/dialog
Text input chuẩn với focus ring, disabled state, và aria-invalid.
src/components/ui/input.tsxPrimitive: @base-ui/react/input
Vùng cuộn tùy chỉnh scrollbar cả chiều dọc và ngang.
src/components/ui/scroll-area.tsxPrimitive: @base-ui/react/scroll-area
Đường phân cách, hỗ trợ orientation: horizontal / vertical.
src/components/ui/separator.tsxPrimitive: @base-ui/react/separator
Slide-over panel từ 4 phía (top/right/bottom/left) dùng Dialog primitive.
src/components/ui/sheet.tsxPrimitive: @base-ui/react/dialog
Textarea tự co giãn chiều cao (field-sizing: content) với shadcn styling.
src/components/ui/textarea.tsxPrimitive: HTML <textarea>
2 components
Command palette / search dropdown với keyboard navigation.
src/components/ui/command.tsxPrimitive: Dialog + InputGroup
Nhóm input với prefix/suffix icon, button, text — hỗ trợ inline và block alignment.
src/components/ui/input-group.tsxPrimitive: Button + Input + Textarea
10 components
Tab strip nội tuyến với blue underline indicator, dùng trong card và quick start.
src/components/ui/tabs.tsxTab điều hướng top-level dùng ở topbar, khác với Tabs (nội tuyến).
src/components/ui/nav-tab.tsxKhối thông báo có icon với các variant: info, warning, success.
src/components/ui/callout-block.tsxContainer hình vuông bo góc cho icon, nhiều tone màu và kích thước.
src/components/ui/icon-box.tsxDefault
border + bg
Subtle
brand lighter
Brand
dark surface
Card surface với CSS class variants: portal-surface-card, --subtle, --brand.
src/components/ui/surface-card.tsxMô tả ngắn về nội dung trong section này.
Wrapper section với padding, border-top và heading cho trang nội dung.
src/components/ui/section.tsxGetting Started
Quick Reference
Label nhỏ in hoa hiển thị phía trên heading, dùng để phân loại nội dung.
src/components/ui/eyebrow.tsxItem trong sidebar navigation với icon, label và trạng thái active.
src/components/ui/sidebar-item.tsxNút trigger mở search dialog, hiển thị keyboard shortcut.
src/components/ui/search-trigger.tsxPanel chat AI với input và danh sách tin nhắn.
src/components/ui/ai-chat-panel.tsx4 components
Badge theo brand portal: hero, default, subtle, success, outline + leadingDot.
src/components/ui/portal/badge.tsxButton theo brand portal: primary, brand, secondary, outline, ghost, successAccent.
src/components/ui/portal/button.tsxCard sản phẩm dùng ở landing page với icon, title, description và hover effect.
src/components/ui/portal/product-card.tsxCard bước hướng dẫn nhanh với tab chọn ngôn ngữ và code block.
src/components/ui/portal/quick-start-card.tsx