childrenRequired | React.ReactNode | Not set | Tab list and panels (use Tabs.List, Tabs.Tab, Tabs.Panel) |
defaultValue | string | undefined | Not set | Initially active tab (uncontrolled) |
List.actions | React.ReactNode | Not set | Controls beside the tabs, outside the tablist and its arrow-key navigation. |
List.activateOnFocus | boolean | undefined | Not set | Arrow keys open the tab they reach, instead of only moving focus. |
List.childrenRequired | React.ReactNode | Not set | — |
onReselect | ((value: TabValue) => void) | undefined | Not set | Called when the open tab is pressed again (it may close what covers its panel) |
onValueChange | ((value: TabValue, eventDetails: TabsChangeEventDetails) => void) | undefined | Not set | Called when active tab changes |
Panel.childrenRequired | React.ReactNode | Not set | — |
Panel.className | string | undefined | Not set | — |
Panel.valueRequired | string | Not set | — |
size | TabsSize | undefinedsmmd | Not set | Tab height: sm 28, md 32. Defaults to the component-default control size |
Tab.childrenRequired | React.ReactNode | Not set | — |
Tab.className | string | undefined | Not set | — |
Tab.count | React.ReactNode | Not set | A quieter figure after the name (how many there are, or `…` while counting). |
Tab.dot | string | boolean | undefined | Not set | A dot after the name: something changed in the tab. A string is read to screen readers. |
Tab.valueRequired | string | Not set | — |
value | string | undefined | Not set | Controlled active tab value |
variant | TabsVariant | undefinedsoftghost | ghost | Tab row chrome: ghost draws a 2px ink underline under the open tab, soft is the segmented control (band track, lifted thumb) |