Skip to content
uicoolkit
  • Components

  • Docs

↑↓ navigate↵ open/ anywhere
Menu

Upload Dropzone

FreeSample

A dropzone with per-file progress, retry for failures and a clear completion state. Bring your own upload function.

Original
  • forms
  • upload
  • feedback

Drop files to upload

Customize

Accent
Motion
Speed

These controls show a few ways to adapt it. The source is fully editable.

Install

Not published yet
npx shadcn@latest add @uicoolkit/upload-dropzone

Install commands go live when this item ships to the registry.

Dependencies

  • motion

Use with an agent

Copy a prompt with this component, your current preview settings and links to its docs.

Add the UICoolKit "Upload Dropzone" component (upload-dropzone) to this project.
Docs: https://uicoolkit.com/components/upload-dropzone
Agent docs: https://uicoolkit.com/components/upload-dropzone.md
Install: npx shadcn@latest add @uicoolkit/upload-dropzone
Preview settings to match: accent Ember, radius 12px, motion on.
Use the documented props and className hooks rather than editing internals, and wire it to this app's real state.
(Note: this is a sample item from the UICoolKit website shell and is not published yet.)
upload-dropzone.tsx
<UploadDropzone
  accept={{ "image/*": [] }}
  upload={(file, onProgress) => uploadToS3(file, onProgress)}
/>