Skip to content

RadioGroup

Choose one option from a set.

alpina-ui/ui/radio-group

Interactive preview

Print order

Delivery of copies

Delivery method
Collection pointPublications desk · Bellinzona

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.

Keys
KeyAction
Tab / Shift+TabEnter or leave the native radio group.
Arrow keysMove selection between enabled options.
SpaceSelect 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
Add to your project
npx --no-install alpina add radio-group