Tabs
A tabs component built on Base UI.
Installation
First install? Complete the one-time host setup.
Live preview
Switch between sibling panels in the same space — account vs. password, overview vs. analytics.
Loading preview…
Parts
| Part | Description |
|---|---|
Tabs | Root container holding the selected value (defaultValue / value + onValueChange, orientation). |
TabsList | Row (or column) of triggers. |
TabsTrigger | Clickable tab; value ties it to a panel, supports disabled. |
TabsContent | Panel shown when its value is active. |