Tabs
A set of layered sections of content—known as tab panels—that are displayed one at a time.
Installation
Add the Tabs component using the CLI:
Usage
The Tabs component displays one panel of content at a time.
Use TabsList to hold the triggers and TabsContent for each panel.
Each trigger and content requires a matching Value.
Set DefaultValue to pre-select a tab.
Make changes to your account here. Click save when you're done.
Examples
Disabled
Set Disabled="true" on a TabsTrigger to prevent it from being selected. Disabled triggers are skipped during keyboard navigation.
Your active items will appear here.
Vertical
Set Orientation="vertical" on the Tabs root to arrange the trigger list and content side by side.
Update your profile settings here.
With Icons
Place an icon before the label text inside a TabsTrigger to enrich the tab labels visually.
Listen to your favorite music tracks and albums.
Inside a Card
Tabs compose naturally inside a Card for settings panels, dashboards, or grouped content views.
A summary of your account activity and recent events.