Component
A single radio button input. Use RadioGroup for grouped single-selection, or Radio standalone for custom layouts.
View component changelogpreview
Import all parts of the component and piece them together
A single radio button input.
| Prop | Type | Default |
|---|---|---|
name | string | "" |
value | string | "" |
id | string | "" |
checked | boolean | false |
disabled | boolean | false |
size | string | "" |
color | string | "" |
variant | string | "" |
onChange | function | -- |
| Shortcut | Description |
|---|---|
Tab | Moves focus to the radio input. |
Space | Checks the radio input when it is focused. |
| Reference | What Rad UI follows |
|---|---|
Uses native radio semantics for the individual option. Use RadioGroup when documenting grouped roving-focus behavior. |