Skip to content

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.
ApplePearPlum

Value: pear

Size

Size enum matches other controls: sm, md, lg.
SmallMediumLarge

Disabled

Group disabled blocks selection.
SelectedOther

API ​

Radio Props ​

PropTypeDefault
checkedbooleanfalse
disabledbooleanfalse
size'sm' | 'md' | 'lg''md'
valuestring''

RadioGroup Props ​

PropTypeDefault
valuestring''
disabledbooleanfalse
size'sm' | 'md' | 'lg''md'

RadioGroup Events ​

NameDescription
changedetail: { value: string }