Appearance
Tabs
Panel theo tab — mặc định underline (mobile-first); segmented tùy chọn.
ts
import { Tabs, TabsList, TabsTrigger, TabsContent } from "@minap/ui";Sample
Props / API
| Prop / API | Type | Default | Notes |
|---|---|---|---|
value / defaultValue | string | — | |
onValueChange | (v: string) => void | — | |
TabsList.variant | "underline" | "segmented" | "underline" | Underline = tab mobile theo mock; segmented = control dạng pill |
TabsTrigger.value | string | — | Bắt buộc |
Behavior
- TabsList min-h-touch
- Underline active dùng border-primary
Related
- Category:
navigation - Catalog gallery:
/catalog/navigation