Optional
idAn ID that uniquely identifies a checkbox.
Optional
isIf true
then element is auto-focusable inside a focus scope.
Optional
isIf true
then a checkbox is checked.
Optional
isIf true
then hover events are disabled.
Optional
isIf true
then a checkbox is marked as invalid.
Optional
onA handler that is called when the element loses focus.
Optional
onA handler that is called when a checkbox is checked or unchecked.
true
if checkbox is checked.
Optional
onA handler that is called when the element receives focus.
Optional
onA handler that is called when the element's focus status changes.
true
if an element is focused.
Optional
onA handler that is called when the element receives focus that must be visible to a user.
Optional
onA handler that is called when the hover state changes.
true
if an element is hovered.
Optional
onA handler that is called when a hover interaction ends.
Optional
onA handler that is called when a hover interaction starts.
Props of the useCheckbox hook.