Ariakit
Version
v0.3.7
/
Browse
View new updates
Switch theme
All things Radio
Components
Radio
Choose one option from a list of choices presented as radio buttons. This component is based on the WAI-ARIA Radio Group Pattern.
Examples
FormRadio
Using the FormRadioGroup and FormRadio components to create a Form with custom validation that requires a user to select an option from a list of radio buttons.
API Reference
useRadioContext
Returns the radio store from the nearest radio container.
useRadioStore
Creates a radio store.
Radio
Renders a radio button element.
RadioGroup
Renders a radio group element.
RadioProvider
Provides a radio store to Radio components.