Standalone radio button that can be used in any layout.
This component inherits props from the Radio Group primitive and supports common margin props.
Contains all the parts of a radio group.
An item in the group that can be checked.
Use the size
prop to control the radio button size.
Use the variant
prop to control the visual style of the radio buttons.
Use the color
prop to assign a specific color.
Use the highContrast
prop to increase color contrast with the background.
Composing Radio
within Text
automatically centers it with the first line of text. It is automatically well-aligned with multi-line text too.
Use the native disabled
attribute to create a disabled radio button.