Checkboxes allow users to select one or more options from a list.
Demo
Note
- Checkbox elements are not heavily prevalent in our unified themes, but this guide can be used as a reference for future themes.
States & Variations
Default
No attributes added to the input element.
Checked
An attribute of checked
is added to the input element.
Disabled
An attribute of disabled
is added to the input element.
Anatomy
- Checkbox
- Checkbox input
- Checkbox label