Reduce visual complexity of long forms using tabs.
Add the following props to a Tab to add decorations to the tab:
count
prop to display a gray badge with the count within the Tab.tooltip
prop to add a tooltip to the text.statusIndicator
prop to add an extra indicator to the right of the Tab text.Use these instead of directly rendering additional components within the Tab itself.
There are cases when state of tabs is managed elsewhere. For example, when tabs are switched based on the current URL.
Inherits margin props.
Name | Default | Description |
---|
Name | Default | Description |
---|---|---|
children | — | ReactNode Tabs. |
Name | Default | Description |
---|
Name | Default | Description |
---|
Name | Default | Description |
---|