Function: Radio()
Radio(
__namedParameters):Element
Defined in: components/RadioGroup/RadioGroup.tsx:186
A single radio option — must be used inside a RadioGroup.
Renders a circular indicator (data-part="selectionControl") with an
inner dot (data-part="indicator") when selected. Reads the parent
group's isInvalid from React Aria's render props and surfaces the
invalid State on the control.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | RadioProps |
Returns
Element
Example
<Radio value="sm">Small</Radio>