About
A drag-and-drop file upload box with an animated glowing gradient border, file-type badges, and upload progress/success/error states.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Gradient File Upload to your project and fits it to your theme.
Code
How Gradient File Upload is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { GradientFileUpload } from "@/components/ui/gradient-file-upload";
export default function Demo() {
return (
<div className="flex min-h-[350px] w-full items-center justify-center p-4 sm:p-8">
<GradientFileUpload
variant="original"
maxSizeMb={50}
uploadDurationMs={2500}
/>
</div>
);
}















