Description
MediaDrop is a hooks-first, headless file uploader for React, published on npm as react-mediadrop. It handles the upload logic, including dragging, validating, queuing, progress, retry and cancel, and leaves the markup and styling to you. One hook covers the whole upload lifecycle. Files dropped on the root are sorted into accepted and rejected files by the restrictions you set, each file carries a preview URL and a remove function, and uploads report progress and status per file. Failed queues can be retried and in-progress uploads cancelled. The project has docs and examples, a Discord community and an MIT license. It installs with npm, pnpm, yarn or bun. The listing also describes ready-made blocks built on the library, such as a dropzone, an avatar uploader and a multi-file upload form.…
Highlights
- Headless React hooks for the whole upload lifecycle
- Drag, validate, queue, retry and cancel uploads
- Per-file previews and upload progress
- Your own markup and styles
- MIT licensed and installed from npm
Ratings & Reviews
No ratings yet
Be the first to rate mediadrop.
People also visit
react-dropzone-uploader
React file dropzone and uploader: fully customizable, progress indicators
mediadrop FAQ
What is MediaDrop?
A hooks-first, headless file uploader for React. It provides the upload logic and leaves the markup and styling to your project.
How do I install it?
Run npm install react-mediadrop, or use pnpm, yarn or bun. It is a React library, so it goes into a React project.
Is it free?
Yes. It is open source and MIT licensed.
How does it handle validation and failed uploads?
Restrictions sort files into accepted and rejected lists. Each upload reports its progress and status, and failed queues can be retried or cancelled.
Where can I find examples?
The project has a docs section and an examples section, both linked from its site.
What are the best mediadrop alternatives?
Popular alternatives to mediadrop include shadcn-dropzone, react-dropzone-uploader and better-upload. See all mediadrop alternatives










