Components · Checkbox
Checkbox
Binary or mixed-state selection control.
Anatomy
- 1
.checkbox-rootInteractive control and label composition. - 2
.checkbox-controlVisual checked-state container. - 3
.checkbox-indicatorCheckmark or mixed-state glyph. - 4
.checkbox-labelControl label.
Default
Compositions
The component in context, beside others. Open the code to see the file verbatim.
Settings list
When to use
Use checkboxes when people may select any number of independent options, including none.
Interaction states →