Uploader With Validation Toasts
- from @7ovr
Drag-and-drop file uploader enforcing size and type validation, with uploading, done, and error attachment states, toasts, and per-file remove.
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 @7ovr/file-upload-3Registry dependencies5
- attachment
- button
- card
- sonner
- spinner