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