Components / Checkbox
Checkbox
Independent on/off choices in a form, or multi-select in a list. Each checkbox stands alone; for one-of-many use RadioGroup.
import { Checkbox } from '@layers/ui/checkbox'Rendered stock
House rules
- Pair every Checkbox with a Label wired via htmlFor.
- Checked state uses the semantic primary tokens; never recolor.
- No optimistic saves: form choices persist through an explicit Save button with a spinner.