Set of interactive radio buttons where only one can be selected at a time.
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 radiobutton 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 RadioGroup.Item
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 radiobutton.