extend-hq

File Upload

Component 268

About

A drag-and-drop file upload surface with animated accepted-file-type icons, an animated border beam, and a compact list of selected files.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds File Upload to your project and fits it to your theme.

Code

How File Upload is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { FileUpload } from "@/components/ui/file-upload";

export default function FileUploadExample() {
  return (
    <div className="mx-auto w-full max-w-md rounded-xl border bg-background p-4">
      <FileUpload />
    </div>
  );
}

Dependencies

More by extend-hq

View all
  • PDF Viewer

    PDF Viewer

    441
  • Excel Viewer

    Excel Viewer

    325
  • File System (Finder)

    File System (Finder)

    152
  • CSV / TSV Viewer

    CSV / TSV Viewer

    80
  • File Upload

    File Upload

    62
  • Scroll Area

    Scroll Area

    13
  • Select

    Select

    10
  • Card

    Card

    7