Checkboxes allow the user to select one or more items from a collection.
View source codebooleanWhether the checkbox is checked.
ReactNodeContent to display in the label.
ChangeEventHandler<HTMLInputElement>Handler that is called when the value changes.
stringclassName for the element.
"content" | "parent"Whether the CheckboxField should fit its parent or content.
Default: contentstringThe id of the CheckboxField.
booleanWhether the CheckboxField is disabled.
booleanWhether the checkbox is indeterminate.
stringThe name of the CheckboxField, used when submitting an HTML form.
Default:stringThe current value (controlled).