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)

NameTypeDefaultDescription
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.
fullbooleanfalseExpands segments equally across the full container width.
labelstring—Accessible group label for screen readers.