Checkboxes allow users to select multiple options, but with a radio button, the user can choose only one option. A checkbox requires the user to click a button to submit the information, whereas a toggle switch is an immediate response; the user does not need to submit the selection.
The checkbox component has a simple anatomy. It consists of an input element, a label, and a sign, which can be one of three options: none, checked, or intermediate.
[
Collection
]
[
|
...
]