ComponentsTabs
Tabs
The Tabs component is a powerful and flexible navigation tool for your applications. It offers various interaction modes, accessibility features, and the ability to display different contents based on the selected tab.
The Tabs component is a powerful and flexible navigation tool for your applications. It offers various interaction modes, accessibility features, and the ability to display different contents based on the selected tab.
| Prop | Type | Default | 
|---|---|---|
activationMode  | 'manual' | 'automatic'  | |
asChild  | boolean  | |
defaultValue  | string  | |
dir  | 'ltr' | 'rtl'  | |
getRootNode  | () => ShadowRoot | Node | Document  | |
id  | string  | |
ids  | Partial<{
  root: string
  trigger: string
  tablist: string
  content: string
  indicator: string
}>  | |
loop  | boolean  | |
onFocusChange  | (details: FocusChangeDetails) => void  | |
onValueChange  | (details: ValueChangeDetails) => void  | |
orientation  | 'horizontal' | 'vertical'  | |
translations  | IntlTranslations  | |
value  | string  | 
| Prop | Type | Default | 
|---|---|---|
asChild  | boolean  | 
| Prop | Type | Default | 
|---|---|---|
value  | string  | |
asChild  | boolean  | |
lazyMount  | boolean  | |
onExitComplete  | () => void  | |
present  | boolean  | |
unmountOnExit  | boolean  | 
| Prop | Type | Default | 
|---|---|---|
value  | string  | |
asChild  | boolean  | |
disabled  | boolean  | 
| Prop | Type | Default | 
|---|---|---|
asChild  | boolean  |