FileList
Display file information and upload status, with preview, download and removal actions.
File information
Icons identify each file type. File size is optional. Preview images or download other files.
Thumbnail list
Use listType="picture" to show image thumbnails. Other files keep their type icons.
Picture cards
Use listType="picture-card" to show picture cards. The preview lets you switch between images in the same list.
Upload status
Show progress, completed, failed, ready and cancelled uploads. Error details appear below the affected file.
- Project introduction.mp4Uploading 42%
- Delivery notes.pdfUpload complete
- Attachments.zipUpload failed
Connection interrupted. Please upload again.
- Project notes.mdReady
- Backup.zipCancelled
URL-only files and removal
Names can come from the URL. Update items in onRemove; the remove button waits when the callback returns a Promise.
Empty list
An empty state appears when there are no files. Use emptyContent to customize it.
Usage notes
Size is optional and no file metadata is fetched automatically. Icons follow MIME types or extensions; failed thumbnails fall back to a type icon. Preview is available for images, video and audio; other files show download only. Browser codec support determines media playback. Cross-origin downloads may open in a new tab; use onDownload for your download service. Use Upload to handle file uploads.