Groups radios under a role="radiogroup", sharing a name and managing the selected value (uncontrolled via defaultValue or controlled via value). Pass <Radio value="..."> children.
role="radiogroup"
defaultValue
value
<Radio value="...">
Readonly
Optional
Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.
Legacy React Docs
Ignored by React.
Only kept in types for backwards compatibility. Will be removed in a future major release.
Groups radios under a
role="radiogroup", sharing a name and managing the selected value (uncontrolled viadefaultValueor controlled viavalue). Pass<Radio value="...">children.