File Upload
stableA drag-and-drop file input with validation.
Basic usage
Click to upload or drag and drop
Examples
With accepted types and size limit
Restrict uploads to images with a 5 MB size cap.
Click to upload or drag and drop
Upload constraints
FileUpload supports multiple files, accept filters, max size and max count.
Upload PDFs or images up to 5 MB
Features
- Drag-and-drop dropzone.
- accept / size / count limits.
Installation
bash
pnpm dlx structyl add file-uploadAPI Reference
File Upload API reference
Full props, types, defaults, and all 7 parts.