File Upload
A 494px field for attaching files: a dashed drop zone, then a row per file that shows its progress, and a finished file row or image card once it lands.
This is a hint text to help user.
This is a hint text to help user.Info Here
Add an Orvain File Upload field titled “Upload/Add Attachments”, required, with the hint “This is a hint text to help user.” and a flat drop zone reading “Click To Upload From Device” and “(Max. File size: 25 MB)”.
File type icons
When to use#
- For attachments, imports and media, when people often have the file open in another window.
- When several files upload at once and each needs its own progress, pause and cancel.
Anatomy#
#fcfcfc with a 2px dashed #f2f2f2 edge inside, radius 16: a 28px upload glyph, Click To Upload From Device, and the size limit.
The progress row: a 60px file tile, name, size so far, a 6px bar, the percentage, pause or resume, and cancel.
A tray row for a batch, its progress a 40% blue wash with a 6px bar along the bottom.
Icon, name, size and type, with 40px refresh, delete and download buttons; Basic, Outline + Fill or Fancy, in three sizes.
A folded page in a colour per type (PDF, JPG, XLS, DOC and ten more), 18 to 120px tall.
States#
The drop zone alone.
The zone is unchanged; the hint below turns red with the reason.
A progress row per file: Starting, a percentage, Paused, Failed with a retry, Completed, Deleted.
A finished file in a well, 175px image cards, or a list of uploaded rows with a green Uploaded badge.
Source#
The File Upload ships in the free packages, @orvain/react and @orvain/vue, and in the Figma library with every variant and state shown above. The code on this page is the code you install.
Used in these blocks

