Skip to main content
  1. Docs
  2. Components
  3. Forms

File upload

Choose or drop files: a drop zone over the browser's own file input, each upload with its status.

Import
@qeetrix/react/experimental
Status
ExperimentalSince 0.0.6
Renders
<input type="file">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Drop or choose

A drop zone over a real file input. Files that pass go to onSelect; the rest are listed with the reason.

02

Several files

multiple, and the hint written from accept and maxSize: "PNG, JPEG, up to 5 MB".

03

Every status

The app reports each file in items: uploading with its progress, done, or failed with why.

  • users-march.csv482 kB
    x
  • users-feb.csv391 kBUploaded
  • users-jan.csvRow 214: the email is missing.Not uploaded
Next — File uploadUsage