Tabs
Accessible tabs component with multiple variants, orientations, and keyboard navigation for organizing content
Installation
Install the Tabs component using the nocta-ui CLI:
npx @nocta-ui/cli add tabsImport the component:
import {
Tabs,
TabsList,
TabsTrigger,
TabsContent
} from '@/components/ui/tabs';Examples
Default Tabs
Variants
Sizes
Vertical Orientation
Tabs can be displayed vertically using the orientation="vertical" prop.
Disabled States
Api Reference
Tabs
Prop
Type
TabsList
Prop
Type
TabsTrigger
Prop
Type
TabsContent
Prop
Type