A single image picker that starts as a drag and drop zone, then swaps to a large preview with a remove button. Returns an object URL and the File in React.
npx shadcn@latest add @minidev/image-upload
Loading the source for image-upload…
Registry Items
image-upload
Configuration
Name
image-upload
Type
UI
Description
A single image picker that starts as a drag and drop zone, then swaps to a large preview with a remove button. Returns an object URL and the File in React.
Files · 1
Dependencies
npm packages
lucide-react
Registry items
https://ui.minidev.pro/r/file-dropzone.json
Registry Items
image-upload
Configuration
Name
image-upload
Type
UI
Description
A single image picker that starts as a drag and drop zone, then swaps to a large preview with a remove button. Returns an object URL and the File in React.