Tabs

StableAccessible

Tabs are used to help the user browse and navigate between information contents that have a relation.

Code

Code examples

Default

Press Enter to start editing. Press Esc to stop editing.

Small

Press Enter to start editing. Press Esc to stop editing.

Overflow

Press Enter to start editing. Press Esc to stop editing.

Packages

PackageIncludedStorybook linkSource link
HDS React
Yes
View in StorybookView source
HDS Core
No
--

Properties

Note! You can find the full list of properties in the React Storybook.

Table 1: Tabs properties
PropertyDescriptionValuesDefault value
smallIf set to true, the small tabs variant is used.booleanfalse

This component also accepts all nativediv element props.