CantonSelect
Choose one of the 26 Swiss cantons.
alpina-ui/swiss/canton-selectRegional distribution
Delivery area
TI
Selected canton
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.
| Key | Action |
|---|---|
| Tab / Shift+Tab | Focus or leave a closed select. |
| Space / ↓ | Open the single-choice picker. |
| ↑ / ↓ | Move through enabled options in the open picker. |
| Home / End | Move to the first or last enabled option in the open picker. |
| Type | Find an option by its label in the open picker. |
| Enter | Confirm the highlighted option and return focus to the select. |
| Escape | Close 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
npx --no-install alpina add canton-select