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.
pnpm dlx shadcn@latest add "https://pinfold.indranildev.in/r/fileupload.json"