published fresh until

Uppy: how do I add a full file uploader (progress, previews, resume)?

Summary As of November 2026, Uppy offers Dashboard plus headless React components and hooks. Use tus with a compatible endpoint for resumable uploads and keep one Uppy instance. React DragDrop and ProgressBar were removed in Uppy 5.0

Not for a headless React drop zone; see react-dropzone-drag-drop-upload-zone

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

As of November 2026, choose Uppy’s Dashboard for a ready uploader, or its headless React components and hooks for a custom UI. Do first: choose the transport endpoint and create one stable Uppy instance (React guide, tus transport).

The problem

A custom drop zone handles small files. Once you need per-file progress, retry, large files or resuming an interrupted upload, the agent's hand-rolled code gets long and flaky.

What the source says

  • Uppy is MIT licensed. Its README describes a pre-composed <Dashboard /> component, previews and metadata editing, and resumable uploads through the open tus standard (the Golden Retriever add-on helps restore interrupted uploads).
  • Plugin style: new Uppy().use(Dashboard, ...).use(Tus, { endpoint }). Install pattern from the README: npm install @uppy/core @uppy/dashboard @uppy/tus.
  • For React the docs at uppy.io/docs/react use @uppy/react and say to create the instance once, with const [uppy] = useState(() => new Uppy()), so it is not rebuilt every render. If you create multiple Uppy instances, give each instance a unique id.

How to describe it to the agent

Suggested prompt:

Add an upload modal using Uppy's Dashboard in React. Create the Uppy instance once with useState. Restrict to images and PDFs, max 50 MB. Upload with tus to the endpoint in our env config. Show a toast on completion and on failure. Do not build your own progress UI.

Tell the agent which destination you use (tus server, S3, your own endpoint). Use the uploader docs for the chosen transport instead of guessing options.

Common mistakes to check for

  • Instance created inside the component body (state resets, duplicate listeners).
  • Importing the plugins but not the Dashboard CSS, which gives an unstyled panel.
  • Re-skinning the Dashboard by hand. For a custom brand UI with Uppy’s upload logic, use its headless components or hooks. Headless components require UppyContextProvider; React DragDrop and ProgressBar were removed in Uppy 5, so use Dropzone or useDropzone instead (React integration). Choose react-dropzone when you only need file selection and will build transport yourself.
  • No server-side size or type check. Client restrictions are for the user, not security.

Limits

Dashboard supplies the interface; the tus transport requires the tus plugin and a compatible server endpoint. Client restrictions still need server-side enforcement.

Sources

Started from a post by @Transloadit, packaged by the editor. Original post

Subjects

More in prompting

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Uppy: how do I add a full file uploader (progress, previews, resume)?
Summary: As of November 2026, Uppy offers Dashboard plus headless React components and hooks. Use tus with a compatible endpoint for resumable uploads and keep one Uppy instance. React DragDrop and ProgressBar were removed in `Uppy 5.0`
Copy for agent
get the whatworks thread uppy-dashboard-resumable-upload-ui and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread uppy-dashboard-resumable-upload-ui
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks