Use tabs when readers need to switch between related views in the same space.
Structure
Use Tabs and Tab together
Wrap each Tab inside Tabs.
Add clear tab labels
label is required on every Tab.
Keep labels short so readers can scan options quickly.
Add icons
Use icon on Tab to display an icon next to the tab label.
Rich tab content
Each tab can include multiple paragraphs, lists, and other components.
Props
Tab props
| Prop | Description | Type | Default |
|---|---|---|---|
label | Text displayed in the tab button. | string | |
icon | Optional icon name displayed before the label. | string |
Tabs props
Tabs is a layout container and currently does not accept props.