Radio Group
A group of radio buttons for selecting a single option from multiple choices.
Usage
Radio GroupRadioGroupRoot Props
| Prop | Type | Default |
|---|---|---|
name | string | — |
required | boolean | — |
disabled | boolean | — |
dir | enum | — |
orientation | enum | — |
loop | boolean | — |
defaultValue | string | — |
value | string | — |
onValueChange | function | — |
className | string | — |
children | ReactNode | — |
asChild | boolean | — |
Radio GroupRadioGroupCard Props
| Prop | Type | Default |
|---|
Radio GroupRadioGroupItem Props
| Prop | Type | Default |
|---|---|---|
value | string | — |
type | enum | — |
checked | boolean | — |
required | boolean | — |
className | string | — |
children | ReactNode | — |
asChild | boolean | — |
Radio GroupRadioGroupItemLabel Props
| Prop | Type | Default |
|---|---|---|
className | string | — |
children | ReactNode | — |
asChild | boolean | — |