Radio Group
A radio group allows a user to select a single item from a list of mutually exclusive options.
Orientation
Disabled
Component props
RadioGroup
| Name | Type | Description |
|---|---|---|
| label | string | Label text displayed above the group |
| value | string | Controlled selected value |
| defaultValue | string | Default selected value |
| orientation | Orientation | "horizontal" | "vertical" |
| isDisabled | boolean | Disables all radios in the group |
| onChange | (value: string) => void | Called when selection changes |
Radio
| Name | Type | Description |
|---|---|---|
| value | string | Value of this radio option (required) |
| isDisabled | boolean | Disables this radio option |