Type | Element | Property | Color token |
|---|---|---|---|
Unselected | Container | background-color | transparent |
Text | text-color |
| |
Icon | svg |
| |
Border | border |
| |
Divider | border |
| |
Selected | Container | background-color |
|
Text | text-color |
| |
Icon | svg |
|
* Denotes a contextual color token that will change values based on the layer it is placed on.

Type | State | Element | Property | Color token |
|---|---|---|---|---|
Unselected | Hover | Container | background-color |
|
Label text | text-color |
| ||
Icon | svg |
| ||
Border | border |
| ||
Focus | Container | background-color | transparent | |
Label text | text-color |
| ||
Icon | svg |
| ||
Border | border |
| ||
Disabled | Container | background-color | transparent | |
Label text | text-color |
| ||
Icon | text-color |
| ||
Border | border |
| ||
Divider | border |
| ||
Selected | Focus | Container | background-color |
|
Label text | text-color |
| ||
Icon | svg |
| ||
Border | inner-border |
| ||
Disabled | Container | background-color |
| |
Label text | text-color |
| ||
Icon | text-color |
|
* Denotes a contextual color token that will change values based on the layer it is placed on.

Type | Element | Property | Color token |
|---|---|---|---|
Unselected | Container | background-color |
|
Text | text-color |
| |
Icon | svg |
| |
Border | border |
| |
Divider | border |
| |
Selected | Container | background-color |
|
Text | text-color |
| |
Icon | svg |
| |
* Denotes a contextual color token that will change values based on the layer it is placed on.

Type | State | Element | Property | Color token |
|---|---|---|---|---|
Unselected | Hover | Container | background-color |
|
Text | text-color |
| ||
Icon | svg |
| ||
Focus | Border | border |
| |
Disabled | Container | background-color |
| |
Text | text-color |
| ||
Icon | text-color |
| ||
Border | border |
| ||
Divider | border |
| ||
Selected | Focus | Container | border |
|
Disabled | Container | background-color |
| |
Text | text-color |
| ||
Icon | svg |
| ||
Border | border |
|

Element | Font size (px/rem) | Font weight | Type token |
|---|---|---|---|
Text: unselected | 14 / 0.875 | Regular / 400 |
|
Text: selected | 14 / 0.875 | Regular / 400 |
|
Element | Font size (px/rem) | Font weight | Type token |
|---|---|---|---|
Text: unselected | 14 / 0.875 | Regular / 400 |
|
Text: selected | 14 / 0.875 | SemiBold / 600 |
|
Element | Property | px / rem | Spacing token |
|---|---|---|---|
Container | corner radius | 4px | – |
Label text | padding-left, padding-right | 16 / 1 |
|
Icon (sm) | padding-left, padding-right | 8 / 0.5 |
|
Icon (md) | padding-left, padding-right | 12 / 0.75 |
|
Icon (lg) | padding-left, padding-right | 14 / 0.875 | – |
Divider | border | 1px | – |

Structure and spacing measurements for the text content switcher | px / rem

Structure and spacing measurements for the icon content switcher | px / rem
Element | Size | Height (px / rem) |
|---|---|---|
Container | Small (sm) | 32 / 2 |
Medium (md) | 40 / 2.5 | |
Large (lg) | 48 / 3 | |
Icon | Small (sm) | 16 / 1 |
Medium (md) | 16 / 1 | |
Large (lg) | 20 / 1.25 |

Default content switcher sizes | px / rem

Icon content switcher sizes | px / rem
Feedback
Help us improve this component by providing feedback, asking questions, and leaving any other comments on GitHub.