File upload in Figma

A place to drop or choose files, and a row for each file that shows how its upload is going.

Use the drop zone when uploading is a main task, like adding documents or images. People can drag files onto it or choose them with the Browse button. Each file then appears as a File item that shows progress, success or a problem, with a way to cancel, retry or remove it. In tight spaces like a form, use just a Button with File items below.

Use Image upload for one picture in a circle, like a profile photo or a company logo.

Do

  • Say which types and sizes are accepted before people choose.
  • Keep the Browse button, even where dragging works.
  • Show each file as soon as it is chosen.
  • Let people cancel, retry and remove files.

Don't

  • Rely on dragging alone.
  • Start uploading a file you already know is too large.
  • Clear the whole list because one file failed.
  • Show upload errors only in a toast; keep them on the file.

Code and examples