Animated file upload dropzone
Drop files, a shockwave rolls out, each file gets a progress ring. Free.
Drop files, a shockwave rolls out, each file gets a progress ring. Free.
"use client";
import { UploadDropzone } from "@/components/upload-dropzone/UploadDropzone";
export default function Upload() {
return <UploadDropzone accept="image/*,.pdf" maxSize={10_000_000} onAllDone={(items) => console.log(items)} />;
}npx shadcn@latest add https://teodoravadani.github.io/qodesign-free/r/upload-dropzone.jsonAll comparisons, with prices read on each library's own site.
From the blog: Next.js File Upload: Server Actions, Progress Bars and the 1 MB Limit
From the blog: Fix "Failed to find Server Action" in Next.js After a Deploy
Yes, as a client component. Keep "use client" at the top of the file that renders it, as in the snippet above. App Router and Pages Router both work.
Wherever your upload function sends them: S3, UploadThing, Supabase Storage.
Yes. MIT licence, no email needed for the registry install.
Yes. The folder has a PROMPT.md. Paste it into Cursor, Lovable, v0 or Claude Code.