Checkbox
src/lib/components/checkbox.tsx·checked · indeterminate (some of a group) · disabled (no Figma source — added for the settings forms)
Guide
tentativeWhen to use
- One yes/no choice among several the user can tick together — a row in a filter menu.
- Not for a single on/off setting that takes effect at once, and not for one choice out of several (that is a Select or ChipGroup).
Do
- Give a group an All row that ticks and clears the rest, and let it read as mixed (
indeterminate) while only some are on. - Put the label in the component: it is the accessible name and the click target.
Don't
- Don't use
indeterminatefor a box the user can't tick themselves — it stands for a parent of other boxes.
Open
- No Figma source: the box, tick and dash are derived from tokens on review.
Related: FilterMenu, ChipGroupSources: src/lib/components/checkbox.tsx
off
on
indeterminate (some of a group)
disabled
disabled, on