Tab & Tab list
Tabs are used to organize content by grouping similar information on the same page while allowing the user to switch views.
- Storybook (opens in a new tab)
- Figma library (opens in a new tab)
- Figma spec (opens in a new tab)
npm install @sbks/ds-elements
Dimensions and spacing
Section titled “Dimensions and spacing”| Part | Property | Token |
|---|---|---|
| Tab list | Padding | 0 var(--space-6) |
| Tab | Gap between label and icon or badge | --space-1 |
Colors
Section titled “Colors”On hover, the label turns to the interactive color and an underline in the same color appears beneath the tab.
| Part | Property | Token |
|---|---|---|
| Tab label | Text | --color-on-layer-primary |
| Tab label | Text on hover | --color-on-layer-interactive |