Skip to content

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 / APITypeDefaultNotes
value / defaultValuestring—
onValueChange(v: string) => void—
TabsList.variant"underline" | "segmented""underline"Underline = tab mobile theo mock; segmented = control dạng pill
TabsTrigger.valuestring—Bắt buộc

Behavior ​

  • TabsList min-h-touch
  • Underline active dùng border-primary
  • Category: navigation
  • Catalog gallery: /catalog/navigation

MINAP UI · SoT docs/ (VI + thuật ngữ EN)