A checkbox is a choice the reader turns on or off, alone or as one of several independent options. Nothing takes effect until something else submits.
- A set of options where any number can be on: which notifications to send, which columns to export.
- One box for a yes or no the form carries: accept the terms, remember this device.
- A selectable list or table, where the header box sums up the rows.
- A tree, where a parent box reports what its children add up to.
Reach for something else when:
- Switch when the change takes effect as soon as it is made. A checkbox that saves on click looks like one that waits.
- Radio.Group when only one option can be picked.
- Select with mode="multiple" when the list is long, searched or loaded.