Radio
A single radio button with an optional label. Compose with RadioGroupRoot or a raw base-ui RadioGroup for custom group layouts.
Radio
base-ui docs ↗A single radio button with an optional label.
Must be placed inside <RadioGroup> or a raw base-ui RadioGroup.
| Prop | Type | Default |
|---|---|---|
| value* | string | — |
Value submitted with the form and matched against the group's value. | ||
| children | ReactNode | — |
Label rendered next to the button. | ||
| disabled | boolean | — |
| readOnly | boolean | — |
| required | boolean | — |
| id | string | — |
Override the auto-generated element id. | ||
| className | string | — |
Styled Parts
base-ui docs ↗Pre-styled wrappers around the corresponding base-ui parts. All base-ui props are forwarded.
CSS Class Names
Available as keys on the RadioStyles object. Each key maps to a hashed CSS module class name at runtime.
indicatoritemlabelradio