BoM Daily / design

components

Checkbox

A boolean control built on Radix Checkbox. The whole row is a 44px touch target, the box fills with the primary tone when checked, and the label is clickable.

Basic

Controlled, with a clickable label.

States

Props

PropTypeDefaultDescription
checkedbooleannoneControlled checked state.
defaultCheckedbooleannoneUncontrolled initial state.
onCheckedChange(c: boolean) => voidnoneChange handler.
labelReactNodenoneClickable label beside the box.
disabledbooleanfalseDisable the control.