Skip to content

CantonSelect

Choose one of the 26 Swiss cantons.

alpina-ui/swiss/canton-select

Interactive preview

Regional distribution

Delivery area

TI
Selected cantonTicino

Usage notes

Set order="name" to sort the cantons in the current language. The submitted abbreviation stays the same. The default order follows federal statistics.

When to use

Ask for a Swiss canton from a fixed list in a short form.

When to avoid

Use CantonCombobox for frequent lookups by abbreviation or partial name.

Accessibility

Associate the select with a visible Canton label. Keep an explicit empty option when a canton has yet to be chosen.

Keys
KeyAction
Tab / Shift+TabFocus or leave a closed select.
Space / ↓Open the single-choice picker.
↑ / ↓Move through enabled options in the open picker.
Home / EndMove to the first or last enabled option in the open picker.
TypeFind an option by its label in the open picker.
EnterConfirm the highlighted option and return focus to the select.
EscapeClose the picker and keep the previously selected value.

Content

Use the local name for the field and allow enough width for complete canton names. Keep abbreviations uppercase when displayed.

Use
Canton of residence
Avoid
Region code number

Copy in four languages

German
Wohnkanton10 characters
French
Canton de domicile18 characters
Italian
Cantone di domicilio20 characters
Romansh
Chantun da domicil18 characters
Add to your project
npx --no-install alpina add canton-select