File upload
Shows each file's progress and lets people retry just the one that failed. You supply the upload function.
- Component
- Radix
- Light and dark
- Keyboard friendly
- Updated last month
Paste this into your agent.
Add upload several files at once, with progress and retry for each to <the page you want it on>. Install it with: npx shadcn add @ollie/file-upload Handle upload and onComplete yourself; don't fetch inside the component. Keep the ocean theme tokens.
Other takes
Drop files here or
One image, up to 2 MB
More components
- DropzoneDrag files in, or click to choose. Wrong types get turned away.
- Scenario BuilderWeigh what matters, set the rules, and compare the options.
- Multi comboboxSearch and pick one or many from a long list.
- Date range pickerPick a date range, or one tap for "last 30 days".
- Filter barSearch and filters that stay in the URL, so links keep them.
- Sort menuPick what to sort by and which way, in one menu.
- Inline editClick text to edit it right there. Saves when you click away.
- Number inputA number box that won't change when you scroll past it.
- Segmented controlPick one of a few options, all visible at once.
- Rich text editorA writing box with bold, italics, headings, lists, links and images.