Skip to content

shadcn-dropzone

A file upload dropzone in the shadcn/ui style, powered by react-dropzone and aimed at accessibility.

shadcn-dropzone.vercel.app

shadcn-dropzone website screenshot
Added
GitHub stars
55
License
MIT
Price
Free

About

About shadcn-dropzone

shadcn-dropzone is a file upload component in the style of shadcn/ui. It uses the useDropzone hook from react-dropzone and builds on shadcn primitives, with accessibility as a stated goal. The docs show composable parts: Dropzone, DropZoneArea, DropzoneTrigger, DropzoneDescription, DropzoneMessage, DropzoneFileList, retry and remove buttons per file, and an InfiniteProgress indicator. Its own useDropzone hook tracks file statuses.

Install it with the shadcn CLI by pointing at the dropzone.json URL on the project's site, or copy the dropzone.tsx file and fix the imports. The README lists React Hook Form integration as a to-do. The repository is MIT licensed and has docs with search. It suits upload forms for avatars, attachments and documents where you want a drag target and a visible file queue.

shadcn-dropzone features

6 features

  • Drag-and-drop upload area
  • Per-file retry and remove actions
  • File list with status tracking
  • Progress indicator
  • Built on the react-dropzone hook
  • Docs site with search

Install shadcn-dropzone

1 command

Terminal

$ npx shadcn@latest add 'https://shadcn-dropzone.vercel.app/dropzone.json'

What you can build with shadcn-dropzone

3 use cases

  • Attaching documents to a support ticket form
  • Uploading multiple images with a visible queue
  • Retrying failed uploads without clearing the list

1 link

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What shadcn-dropzone is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro