Radio
Radio picks one value in a group. Selected state is a white fill, a deep-gold ring, and a deep-gold center dot — not a solid yellow disc.
Demos
Basic
Bind group
value and listen for change with e.detail.value. Arrow keys move and select, skipping disabled radios. Value: pear
Size
Size enum matches other controls:
sm, md, lg. Disabled
Group
disabled blocks selection. API
Radio Props
| Prop | Type | Default |
|---|---|---|
checked | boolean | false |
disabled | boolean | false |
size | 'sm' | 'md' | 'lg' | 'md' |
value | string | '' |
RadioGroup Props
| Prop | Type | Default |
|---|---|---|
value | string | '' |
disabled | boolean | false |
size | 'sm' | 'md' | 'lg' | 'md' |
RadioGroup Events
| Name | Description |
|---|---|
change | detail: { value: string } |