Stack · File uploads
Next.js + UploadThing.
UploadThing simplifies file uploads in Next.js — auth, validation, storage, all in one SDK.
CategoryFile uploads
Best forUser-generated uploads
Why together · 01
Why this combo works.
Type-safe file router. Pre-signed URLs handled. Storage on UploadThing or your S3-compatible provider.
Setup
pnpm install uploadthing, define a file router, use the React component.
Gotchas
- Pricing scales with bandwidth
- BYO storage requires configuration
- Large files need careful timeout config
- Webhooks for completion
Building this stack?
We've shipped it.
Default for upload-heavy apps. If you're going to ship on this stack, brief us. We can save you a few weeks of gotchas.
Brief us