Radio buttons are used to present the user with mutually exclusive choices. Radio buttons must always be presented in a group of two or more. Related design guidelines: Data input

ExamplesPropsCSS Variables


Controlled radio

Copied to clipboard

Uncontrolled radio

Copied to clipboard

Disabled radio

Copied to clipboard


Radio Props

The Radio component accepts the following props.

classNamestring''Additional classes added to the Radio.
isValidbooltrueFlag to show if the Radio selection is valid or invalid.
isDisabledboolfalseFlag to show if the Radio is disabled.
isCheckedboolnullFlag to show if the Radio is checked.
onChangefunc() => undefinedA callback for when the Radio selection changes.
labelnodeundefinedLabel text of the Radio.
idstringId of the Radio.
aria-labelcustomAria-label of the Radio.
namestringName for group of Radios
anyAdditional props are spread to the container <input>

CSS Variables