RadioGroup
Choose one option from a set.
alpina-ui/ui/radio-groupPrint order
Delivery of copies
Collection point
Usage notes
Use a group label for a choice with one answer. Passing form associates each radio with that form even when the fieldset sits outside it.
When to use
Show a small set of mutually exclusive choices together, for example two ways of receiving an invoice.
When to avoid
Multiple simultaneous choices require checkboxes. A long list with similar names is easier to search.
Accessibility
Label the group through its legend. The option text must distinguish each choice when read after the same group label.
| Key | Action |
|---|---|
| Tab / Shift+Tab | Enter or leave the native radio group. |
| Arrow keys | Move selection between enabled options. |
| Space | Select the focused option. |
Content
Use a short question or noun for the legend. Give options matching forms, such as two delivery methods.
- Use
- Invoice delivery / Email / Post
- Avoid
- Settings / Yes / No
Copy in four languages
- German
- Rechnungsversand16 characters
- French
- Envoi de la facture19 characters
- Italian
- Invio della fattura19 characters
- Romansh
- Spediziun dal quint19 characters
npx --no-install alpina add radio-group