Data Input

RadioList

Definition

Presents one visible single-choice option group.

Usage

Use RadioList when users need to compare a small set of mutually exclusive options.

Attributes

  • label or i18n required. Accessible group label.
  • value required. Selected value or writable state binding.
  • orientation. vertical or horizontal.
  • size. sm or md.

Children

RadioListItem children.

Example

xml
<RadioList label="Plan" value="$form.plan" orientation="horizontal">
<RadioListItem value="solo" label="Solo" />
<RadioListItem value="team" label="Team" />
</RadioList>