Three types of selection controls are covered in this guidance:
- Checkboxes allow the selection of multiple options from a set.
- Radio buttons allow the selection of a single option from a set.
- Switches allow a selection to be turned on or off.
Checkboxes
Most of the details about Material checkboxes have been covered in Components/Custom form elements documentation. Please refer to this page for more details.
Radio buttons
Most of the details about Material radio buttons have been covered in Components/Custom form elements documentation. Please refer to this page for more details.
Switches
Switches toggle the state of a single settings option. The option that the switch controls, as well as the state it’s in, should be made clear from the corresponding inline label.
Validation
For details about how validation works, please check this page. The following section only provides some basic examples.