Installation
Usage
Components
Tabs (Root)
string
Controlled active tab value.
string
Default active tab for uncontrolled usage.
function
Callback when active tab changes.
string
default:"horizontal"
Layout orientation. Options:
horizontal, verticalTabsList
string
default:"default"
Visual style. Options:
default, outlined, ghostboolean
default:"false"
Make tabs fill the full width.
boolean
default:"false"
Hide the active tab indicator.
string
default:"default"
Tab shape. Options:
default, pillstring
default:"md"
Tab size. Options:
sm, md, lgTabsTab
string
required
Unique value identifying this tab.
boolean
Disable the tab.
TabsPanel
string
required
Value matching the associated tab.
Examples
Variants
Pill Shape
Vertical Orientation
Full Width
Accessibility
- Built on @base-ui/react Tabs primitive
- Keyboard navigation (Arrow keys, Home, End)
- Automatic tab focus management
- ARIA attributes for roles and states
- Active indicator for visual feedback