Input
Collect a value with a native HTML input.
alpina-ui/ui/inputDistribution
Collection points
- Bellinzona
- Chur
- Lausanne
- Locarno
4 locations available
Usage notes
Use readOnly when a value is available to inspect or copy. Validation marks the logical leading edge of the control, including in right-to-left layouts.
When to use
Collect one short value such as a family name that the person can type or paste.
When to avoid
Use Textarea for correspondence and Select for a closed list of permitted values.
Accessibility
Associate a persistent label with the input. Preserve the entered value when reporting a validation error.
| Key | Action |
|---|---|
| Text editing | Type, select, paste or replace text with the platform’s editing keys. |
| Tab / Shift+Tab | Move to the following or preceding control. |
Content
Name the value with a noun. Put examples or format instructions on a separate line so the label remains short.
- Use
- Family name
- Avoid
- Enter details here…
Copy in four languages
- German
- Familienname12 characters
- French
- Nom de famille14 characters
- Italian
- Cognome7 characters
- Romansh
- Num da famiglia15 characters
npx --no-install alpina add input