About
A dropzone and file list for uploading documents, PDFs or a résumé, with a file-extension badge on each item.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Document Upload to your project and fits it to your theme.
Code
How Document Upload is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { DocumentUpload } from "@/components/ui/document-upload";
export default function DocumentUploadDemo() {
return (
<div className="flex w-full max-w-md flex-col gap-8">
<DocumentUpload />
<DocumentUpload variant="resume" name="resume" />
</div>
);
}







