useCheckbox
Provides the behavior and accessibility implementation for a checkbox component. Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.
#
Install- Yarn
- npm
#
Import#
API#
AriaCheckboxProps- Props for the checkbox.
#
ToggleState- State for the checkbox, as returned by useToggleState.
#
inputRef- A ref for the HTML or Pressable/Touchable element.
#
CheckboxAriaProps for the input or Pressable/Touchable element.