Use FormControl to render a standard radio input field. This component is only meant to be used in the case that you're building a custom radio that is not yet supported by Primer (For example: the color mode selection in Appearance settings)
If you do use this component to build a custom radio, it should always be accompanied by a corresponding
<label> to improve support for assistive technologies.
Please use a Checkbox if the user needs to select more than one option in a list
name prop to group together related
Radio components in a list.
If you're not building something custom, you should use the ChoiceFieldset component to render a group of radio inputs.
|A unique value that is never shown to the user|
|Required for grouping multiple radios|
|Modifies true/false value of the native radio|
|Selects the radio by default in uncontrolled mode|
(event: React.ChangeEvent) => void
|A callback function that is triggered when the input state has been changed|
|Modifies the native disabled state of the native checkbox|
|sx||Style overrides to apply to the component. See also overriding styles.|
|A ref to the element rendered by this component.|
|Additional props are passed to the |