ComponentsCheckboxes

Checkboxes

On/off choices for one setting or a related list where people can pick more than one option.

Checkboxes

Turn one setting on or off, or offer a list of related choices where people can select more than one.

Layout
Checked
Code preview
import { Checkbox } from "./Checkbox";

Checkbox specs

Color and type tokens for checkbox states and labels.

TokenValueColorUsage
Unchecked bordervar(--input-input-stroke-default)#8f9da4Outline when the option is off
Unchecked fillvar(--input-input-fill)#fcfcfcBackground when the option is off
Checkedvar(--lavender-500)#765cd8Fill and checkmark when the option is on
Labelvar(--text-heading-strong)#063235Text beside the control