Getting Started
Foundations
Integrations
Components
#Installation
npx @dinachi/cli@latest add tabs#Usage
tsx
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'#Examples
#API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| defaultValue | string | — | The value of the tab to select by default |
| value | string | — | The controlled value of the currently active tab |
| onValueChange | (value: string) => void | — | Callback fired when the active tab changes |