Domain Rating
by Ahrefs
Domain Rating by Ahrefs5
Description
UploadCN is an open-source, MIT-licensed kit of file upload components for shadcn/ui and React. It ships upload components and blocks through a shadcn registry, so the UI is copied into your project and you own the code. The components include a drag-and-drop dropzone, image and avatar uploads, progress rings, folder uploads, chat attachments and a queue. Under the UI is an upload engine that validates files by type, size, count, duplicates, image dimensions and durations, and can crop, rotate, resize and compress images in the browser. It also handles concurrency limits, retries, pause and resume, and offline handling. The site says uploads can go to S3 and R2. The components work with Next.js, TanStack Start, Vite and React Router, and can use Radix, Base UI or React Aria in all eight shadcn styles. The project is made of the registry components plus three small npm packages for the engine, React hooks and server routes. It suits developers building apps that accept user files and need uploads that survive slow or unreliable networks.…
Highlights
- Drag-and-drop dropzones and avatar uploads
- Validation, crop, resize and compress in the browser
- Retries, pause and resume, and offline handling
- Uploads to S3 and R2
- 58 blocks in the shadcn registry
Ratings & Reviews
No ratings yet
Be the first to rate uploadcn.
People also visit

registry.directory
A curated directory to discover, preview, and copy shadcn/ui registries
uploadcn FAQ
What is UploadCN?
An open-source file upload kit for shadcn/ui. The UI comes from a shadcn registry and the engine comes from three npm packages: @uploadcn/core, @uploadcn/react and @uploadcn/server.
How do I add a file upload component to a shadcn project?
Run npx shadcn@latest add @uploadcn/file-upload in a project that already uses shadcn/ui. The CLI copies the component into components/ and installs its dependencies.
Is there a drag and drop upload component?
Yes. The File Upload component is a dropzone with drag and drop and click to browse, plus a file list with previews, progress, retry and remove. Other blocks cover images, avatars and galleries.
Is it free to use?
Yes. The project is MIT licensed, and the registry components are copied into your project.
What are the best uploadcn alternatives?
Popular alternatives to uploadcn include shadcn-dropzone, better-upload and mediadrop. See all uploadcn alternatives

