Checkboxes are generally used for state marking of one or more items from a
set; which should work in conjunction with submit operation. State marking both
includes selection and activation.
They have three visual states:
Unchecked: when item is not checked
Checked: when item is checked
Indeterminate: some (not all) child items are checked
Component behavior
The checkbox will respond to clicks or presses inside the entirety of its area,
which takes up all horizontal space available by default. To customize this,
one can handle it in the same fashion as for the Primary
button.
The component also toggles from keyboard presses of either space or enter while focused.
If set, the checkbox will visually indicate an indeterminate state. Has no
bearing on the checked state. This attribute must be separately controlled
to respond correctly to user interaction.
boolean
false
form-associated
formAssociated
boolean
true
name
name
name property for use in conjunction with html forms