Tabs
A compound component for switching between related panels of content, with a sliding active-tab indicator.
Installation
npx dafink-ui add tabsDemo
Manage your account settings and preferences.
Composition
<Tabs>
</Tabs>
Props
| Name | Type | Default | Description |
|---|---|---|---|
| value | string | - | The currently active tab value (controlled). |
| onValueChange | (v: string) => void | - | Called when the user activates a different tab. |
| className | string | "" | Additional classes on the root wrapper div. |