Components

Switchers

The segmented switcher with the sliding thumb — the dashboard's signature control. Light for filters inside a page, dark for navigation and modes. Arrow keys move between options.

Light

Periods, modes, views. The white thumb glides on one easing.

Showing: Year

Dark

Page navigation and strong modes. The black oval casts a soft shadow.

With counts

Filter tabs show how many items each option holds.

10 jobs

Full width

Inside cards and on phones the switcher fills its container.

Props

PropValuesDefaultWhat it does
optionsstring[] | { value, label, count? }[]—The choices
valuebindable—The chosen value
darkbooleanfalseBlack oval thumb (navigation, modes)
fullbooleanfalseFill the container, options share the width
size'sm' | 'md' | 'lg''md'Text and padding size
labelstring'Choose one'What screen readers announce for the group
onchange(value) => void—Called after a new option is picked