Skip to main content

Function: Radio()

Radio(__namedParameters): any

Defined in: components/RadioGroup/RadioGroup.tsx:214

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

ParameterType
__namedParametersRadioProps

Returns

any

Example

<Radio value="sm">Small</Radio>