File upload
- from @pinfold
Pick or drop files: a drop zone, a button or a compact row that opens the file dialog from the keyboard too. Rules for type, size and count with every rejected file listed and why; image previews; a list with progress per file when you give it an `upload` function (aborted on remove, retried on error); paste to add; a hidden input with a `name` for native forms. File contents are never read except to show an image preview.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @pinfold/fileuploadComponent source
No live preview has been built for this component yet.
Registry dependencies0
The CLI adds no other registry items with this one.
