229
Empty-state art for uploads: a soft, breathing goo cloud reaches down, scoops up the file waiting below, fills a ring with a live percentage and lands on a tick.
akaupload·cloud·dropzone
Run this in any project set up for the shadcn CLI. It copies the Upload Cloud source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/upload-cloud.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { UploadCloud } from "@/components/upload-cloud";
export default function Page() {
return <UploadCloud />;
}A free React illustration in the Empty States collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Upload Cloud source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| title | string | "Drop files to upload" |
| description | string | "PDF, PNG or CSV, up to 25 MB each." |
| fileName | string | "q3-brief.pdf" |
| fileSize | string | "2.4 MB" |
| fileType | string | "PDF" |
| hue | UploadCloudHue | "sky" |
| className | string | — |