Tabs
StableAccessible
Tabs are used to help the user browse and navigate between information contents that have a relation.
Available technologies
React
Code
Code examples
Default
Small
Overflow
Packages
| Package | Included | Storybook link | Source link |
|---|---|---|---|
| HDS React | Yes | View in Storybook | View source |
| HDS Core | No | - | - |
Properties
Note! You can find the full list of properties in the React Storybook.
| Property | Description | Values | Default value |
|---|---|---|---|
initiallyActiveTab | The initially active tab. | number | 0 |
small | If set to true, the small tabs variant is used. | boolean | false |
theme | Defines the tabs theme. | TabsCustomTheme | - |
This component also accepts all nativediv element props.