Skip to content

Radio Group

A set of checkable buttons where no more than one of the buttons can be checked at a time.

When to Use

  • To select a single state from multiple options.

Usage

ts
import { RadioGroup } from '@youcan/alto';
import type { RadioData } from '@youcan/alto/types';
vue
<RadioGroup  v-model="value" name="languages" :items="languages" />

API Reference