NativeSelect
Choose from labeled options in an underlined or outlined select.
alpina-ui/interactive/native-selectUsage notes
The line variant marks a disabled field with a dashed underline. Native selection, multiple values, reset and validation remain available.
When to use
Offer one familiar value from a short list on a phone using the device’s own selection interface.
When to avoid
Use a searchable combobox when people know the name of a place in a long directory.
Accessibility
Provide a visible Label with htmlFor. Choose a default only when it is a real, reversible choice.
| 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
Name the category in one to three words. Write options as nouns in the same grammatical form.
- Use
- Delivery method
- Avoid
- Please make your selection from the list below
Copy in four languages
- German
- Versandart10 characters
- French
- Mode de livraison17 characters
- Italian
- Modalità di consegna20 characters
- Romansh
- Moda da spediziun17 characters
npx --no-install alpina add native-select