File Upload
A drag-and-drop file upload zone. Click or drag to add files. Compose with FileItem to display upload progress, done, and error states. FileList groups multiple items. Parent owns the file list โ onFiles delivers raw File objects.
Single file
Click the zone or drag a file onto it. The parent owns the file list โ onFiles receives the raw File[].
Click to upload or drag and drop
Multiple files
Click to upload or drag and drop
Accept + max size
Pass accept (MIME type or extension) and maxSize in bytes. Files that exceed the size are silently filtered before onFiles is called.
Click to upload or drag and drop
image/* ยท Max 5.0 MB
File states
FileItem supports pending, uploading (with progress bar), done, and error states.
Disabled
Click to upload or drag and drop