Checkboxes provide users with a range of options for a given statement where the user may select any number of choices, including zero, one or multiple.
CheckboxPrimitiveProps
Prop
Type
Required
Default
Description
checked
boolean | 'mixed'
—
—
A `boolean` value indicates whether or not this checkbox is checked.
A `"mixed"` value indicates `indeterminate`, meaning that its state
cannot be determined or stated in pure binary terms. This may happen, for
instance, if the state of the checkbox depends on multiple other
checkboxes, and those checkboxes have different values.