Segmented Control
Compact mutually exclusive view or filter switcher supporting icons and item counts.
View Switcher with Icons & Counts
Mutually exclusive quick view switcher with optional icons and tabular count badges.
Active view: board
Full-Width Segments (full)
The full prop distributes equal segment widths inside drawers and modal forms.
API Reference (Props)
| Name | Type | Default | Description |
|---|---|---|---|
| options* | ReadonlyArray<SegmentedOption<T>> | — | Array of segment options (`value`, `label`, `icon?`, `count?`, `disabled?`). |
| value* | T | — | Currently selected option value. |
| onChange* | (value: T) => void | — | Callback fired when a different segment is selected. |
| full | boolean | false | Expands segments equally across the full container width. |
| label | string | — | Accessible group label for screen readers. |