Installation
Usage
Components
RadioGroup
string
Controlled selected value.
string
Default selected value.
function
Callback when selection changes.
string
Name for form submission.
boolean
Disable all radio buttons.
Radio
string
required
Value of this radio option.
boolean
Disable this radio button.
The Radio component automatically includes a RadioIndicator that shows a dot when selected.
Examples
Basic Radio Group
Controlled Radio Group
Disabled Options
Accessibility
- Built on @base-ui/react for ARIA support
- Keyboard navigation (Arrow keys to move between options)
- Proper radio role and attributes
- Focus visible ring
- Works with label elements via htmlFor
- Group-level and item-level disabled states