Tabs
A set of layered sections of content—known as tab panels—that are displayed one at a time.
Preview
Installation
Use the CLI to add this component to your project.
Usage
tsx
14 linesCopy
Examples
Simple Tabs
Overview content goes here.
Disabled Tab
This tab is active.
Props
| Prop | Description |
|---|---|
Tabs* | The root component that manges tab state and layout. |
TabsList* | Container for tab triggers. |
TabsTrigger* | Individual tab trigger. |
TabsContent* | Content panel for a tab. |