File upload.

File upload takes one file or several, chosen, dropped or pasted. Each one moves to its list with its progress, and what doesn’t fit is said before anything uploads.

Available Updated December 3, 2026

Availability

  • Astro In use The portal’s Vault
  • React Ready The portal and Ops
  • Liquid Ready Shopify themes
  • Figma Soon Cuenca kit for Figma
cuenca.flouvia.com

When to use it

The drop zone when there’s room and the files are the heart of the task; the button when attaching is a small part of something else.

If you needUseNever
Uploading one file or several with room on screen: the Vault, a project’s deliverables The drop zoneA control hidden behind a button.
Attaching in little space: a message, a row, a dialog The file buttonA cramped drop zone.
A single file that replaces the previous one: a logo, a photo Either one, for a single fileA list that piles up versions.
A file that already lives somewhere else A text field of type url, with its linkDownloading it to upload it again.

Drop files here or choose them

PDF, images and Figma, up to 50 MB each.

    Live: choose, drop or paste files. Each one moves to its row with its bar, and what doesn’t fit stays with its reason. The upload is a sample: nothing leaves your device.

    Up to 25 MB each.

      Do: In a message, the file button: attaching takes up only its button, and the files move to their list.
      Don’t: A cramped drop zone in the same place: it competes with the message and pushes sending down.

      Anatomy

      The whole zone is the control: you tap it, focus it and drop onto it. Below, the list, one row per file.

      PartWhat it is
      The label Its name, always on top: “Project files”.
      The zone The whole box, with a radius of 20: the browser’s file control covers it, unseen.
      The icon Gota’s upload arrow, at 28. It lights up with the zone.
      The title “Drop files here or choose them”. With files over it, it counts: “Drop to add 3 files”.
      The limits What it accepts, in words: “PDF, images and Figma, up to 50 MB each.”.
      The pill “Choose files”: says what the zone does when you tap it. On the phone it’s the large button, with its icon.
      The list Below the zone, one row per file, with a hairline between rows.
      The row The 40 thumbnail or its type’s icon, the name trimmed in the middle, the bar while it uploads, its size and its status, and its ×.
      • The control, never hidden

        The zone is the browser’s file control, not a button that opens a hidden one: keyboards, screen readers and dictation find it for what it is. Without JavaScript, it shows inside the zone.

      • The button is the same piece

        The file button is the same control shaped as a button, with the limits below and the same list.

      • The name, trimmed in the middle

        A long name loses its middle, never its start or its extension: you know which file it is and what type.

      Sizes

      The zone and the row have a single size; the file button, the button’s sizes.

      PieceSizeNotes
      The zone At least 168 tall; 96 with filesWith files it drops to its minimum height, above the rows.
      The row 64 tall, the 40 thumbnail and the 4 barThe name in subheadline, size and status in footnote.
      The file button small 32 · medium 44 · large 52The button’s own, medium by default.
      A row’s × 44 targetWith a mouse and by touch.

      States

      The zone says whether it’s ready to receive; each row says where its file stands.

      At rest and with three files over it: the accent edge, the selected fill, the lit icon and the title that counts. On a narrow or touch screen, the zone is its button.
      Uploading, with its bar; uploaded; failed, with its reason and “Try again”; and too big, with the limit in words.
      StateHow it looks
      The zone at rest Fill 1, the icon in text 3 and the tinted pill.
      Hover · focus The fill steps up; focus draws the 2 ring around the whole zone.
      With files over it The 1.5 edge in the accent, the selected fill, the lit icon and the title that counts. While something is dragged on the page, zones brighten so you can see where to drop.
      With files The zone drops to its minimum height, above the rows.
      Uploading The bar with its percentage, and the × that cancels.
      Uploaded The checkmark, its size and “Uploaded”.
      Failed The reason, “Couldn’t upload: …”, and “Try again”.
      Doesn’t fit The reason in words, without uploading: “It’s 62 MB; the limit is 50 MB.”.
      Waiting “Uploads when you save”, when the upload goes with the form.
      Disabled Everything in the disabled tone; it doesn’t take files or focus.
      Forced colors The zone keeps its edge and its icon, and focus takes the system highlight.

      While uploading

      Each file is checked as it comes in, uploads with its progress and finishes once; the batch is counted at the end.

      • Choose, drop or paste

        What you choose, drop or paste with ⌘V or Ctrl+V moves to the list, one row per file, and the control is ready for the next.

      • Checked before uploading

        The type, the size and how many fit. What doesn’t fit stays in its row with its reason, and the rest uploads.

      • It uploads right away, with its progress

        Each file with its bar and its ×, which cancels it. Once it’s done, the same × removes it.

      • Or when you save

        When the upload goes with the form, each row says “Uploads when you save” and the save button loads until everything is up.

      • The form waits

        While something uploads, submitting waits for it to finish: nothing is sent halfway.

      • What fails says why

        What didn’t upload gives its reason and offers “Try again”, without losing its row.

      • For a single file, it replaces

        With a single file, choosing another replaces the previous one and says so. One that doesn’t fit never replaces a good one.

      • Dropping outside loses nothing

        A file that lands outside the zone doesn’t open in the tab or take the form with it.

      • The batch finishes once

        At the end, the status region says how many uploaded, with a single Onda sound.

      Content

      Limits are stated up front, in words; each reason says what happened to that file.

      PartHow to write itExample
      The label What you upload: plural with several.“Project files”, “Your logo”
      The title Cuenca’s own, unless the task calls for another.“Drop files here or choose them”
      The limits The types, the size and how many fit, in one sentence. They come from what the zone accepts.“PDF, images and Figma, up to 50 MB each.”
      The button “Choose files” or “Choose a file”; another only if it says more.“Choose files”
      WhenMessage
      A type it doesn’t accept “.exe files aren’t accepted.” · “Videos aren’t accepted.”
      Larger than the limit “It’s 62 MB; the limit is 50 MB.”
      No more fit “Only 5 files fit.”
      The upload failed “Couldn’t upload: the connection dropped.”
      It replaced the previous one “Replaced old-logo.png”
      The batch “3 files, uploading; 1 can’t be uploaded” · “3 files uploaded”
      • Sizes, the way the system says them

        In steps of 1000, with the unit kept next to the figure: “2.4 MB”, never “2,400 KB”.

      • The uploader’s reason

        When the upload knows why (the session expired, there’s no space), its reason completes “Couldn’t upload: …”.

      • No codes

        The row says what happened to that file in words; never a code or a bare “Error”.

      Languages

      • Its text, in both languages

        The title, the pill, the limits, the states, the reasons and the counts arrive with lang: “Subido” and “Uploaded”.

      • Types, by name

        “PDF, Word e imágenes” and “PDF, Word and images”: limits are written in the page’s language.

      • Sizes, with the language’s figures

        With the page’s separators and the unit kept with the figure: “2.4 MB” in both.

      Accessibility

      The browser’s file control, with its name, its limits and its list spoken. It meets WCAG 2.2 AA.

      KeyWhat it does
      Tab To the zone; then to each row’s × and “Try again”
      Enter · Space On the zone, open the system dialog
      ⌘V · Ctrl+V With focus on the zone, paste files
      • Its name says what you see

        The label and the pill: “Project files Choose files”. On the button, what’s visible first: “Choose a file Logo”.

      • The limits, in its description

        They’re heard on reaching the zone; with rows, after “2 files in the list.”.

      • Dropping is never the only way

        The zone opens the system dialog with a tap or with Enter, and you can paste as well.

      • What fails, as an alert

        A failed upload is announced with its file’s name. What doesn’t fit on the way in doesn’t interrupt: the status region counts the batch.

      • Removing and canceling are spoken

        “plan.pdf removed.” and “plan.pdf cancelled.”; focus moves to the next row or to the zone.

      • Measured contrast

        The title and the limits over hover, 12.2:1 and 6.0:1; the zone’s edge with files over it, 3.4:1; a row’s size and status, 7.0:1.

      Motion and sound

      PieceWhat it doesSpringWith reduced motion
      The zone Lights up with files over it; its icon rises 4dropFades in 200 ms
      The rows Enter from 16 px, one per stepriseFade in 200 ms
      A row that leaves Leaves the listebbFades in 200 ms
      The bar Advances with the fileProgress and loading’s ownJumps to its value
      • One batch, one sound

        At the end, success once, with “3 files uploaded” in the status region. If something fails or doesn’t fit, error once per batch.

      • Never the only signal

        Each state shows in its row and is announced; the sound goes with it.

      Changes

      • File upload · Cuenca

        New guide: when to use the drop zone and when the button, how each file is checked and uploaded, its states and how its limits and reasons are written, with a live zone. Loading and Progress and loading link to it.

      Figma is a trademark of its owner; its logo appears only to show compatibility and does not imply endorsement.