Tabs
Switches between peer views of the same object, such as status, commands, and log.
Playground
Variants and states
| Property | Options | Notes |
|---|---|---|
| value | active tab | Peer views of the same object. |
| triggers | one or two words | 36px pill, 24px horizontal padding. Selected is white with the card shadow. |
| count | on, off | Optional 16px count. Right padding is 12px when it is visible, and 24px when it is not. |
| motion | standard timing | Default, hover, and selected use the standard timing and easing. |
Accessibility
- Tabs follow the tab key to the active tab, then arrow keys between tabs.
- The selected tab uses aria-selected.