Skip to content

Radio ​

Radio with spring-scale inner dot animation. Use ARadioGroup for mutually exclusive selection.

Basic Usage ​

Selected: opt-2

vue
<ARadioGroup v-model="value">
  <ARadio value="opt-1" label="Option 1" />
  <ARadio value="opt-2" label="Option 2" />
</ARadioGroup>

Disabled ​

API ​

ARadio Props ​

NameTypeDefaultDescription
valuestring | number | booleanRequiredThe option's value
modelValuestring | number | boolean—Bound value (not needed inside Group)
labelstring—Label text
namestring—Native name (can omit inside Group)
disabledbooleanfalseDisabled

ARadioGroup Props ​

NameTypeDefaultDescription
modelValuestring | number | boolean—Currently selected value
namestring—Group name, auto-passed to children
disabledbooleanfalseDisable entire group

Emits (ARadioGroup) ​

NameParametersDescription
update:modelValuevalueValue changed
changevalueSelection changed

MIT License