RadioGroup
The RadioGroup component allows users to select one option from a set of mutually exclusive choices. It ensures accessibility and consistency within the Sistent design system.
The RadioGroup component in React is used to present a set of mutually exclusive options, where only one option can be selected at a time. It is commonly used in forms and settings.
How to use
The examples below demonstrate different ways to use the RadioGroup component.
Basic RadioGroup
Select one option from a simple vertical list.
Disabled Options
One of the options is disabled and cannot be selected.
Row Layout
Options are displayed in a horizontal row.
Label Placement
You can change the placement of the label with the labelPlacement prop.