FileInput
Choose, drop or paste files using the language of the form.
alpina-ui/ui/file-inputAttach the PDF or image proofs for this edition.
No file selected
Drop files here or paste from the clipboard.Usage notes
Present file types and purpose beside the field. Choose, drop or paste files, review names and sizes, then submit the native multipart form.
When to use
Collect documents or images that belong to a specific application or submission.
When to avoid
Use an Attachment link to offer a file that is already available for download.
Accessibility
Connect a visible field label. The picker, clipboard paste and remove controls all work with a keyboard. Selection changes are announced.
| Key | Action |
|---|---|
| Tab / Shift+Tab | Focus the picker or a selected file’s remove button. |
| Enter / Space | Open the device picker or remove the focused file. |
| Ctrl+V / ⌘V | Paste files from the clipboard while focus is in the field. |
Content
Name the supporting material and specify accepted formats or size limits beside the field in its own language.
- Use
- Attach your PDF proof of residence.
- Avoid
- Upload something here.
Copy in four languages
- German
- Wohnsitzbestätigung beilegen28 characters
- French
- Joindre une attestation de domicile35 characters
- Italian
- Allega l’attestazione di domicilio34 characters
- Romansh
- Agiuntar la conferma da domicil31 characters
npx --no-install alpina add file-input