useRadioGroup
Provides the behavior and accessibility implementation for a radio group component. Radio groups allow users to select a single item from a list of mutually exclusive options.
Install#
- Yarn
- npm
Import#
API#
AriaRadioGroupProps#
Props for the radio group.
RadioGroupState#
State for the radio group, as returned by useRadioGroupState.
RadioGroupAria#
RadioAriaProps#
- Props for the radio.
RadioAria#
ref#
Ref to the HTML input element.