FileUpload
A premium drag-and-drop component for file uploads with progress tracking and list management.
Preview
Component API
FileUpload
Variants
Sizes
Use size variants to match the density of the surrounding layout. `lg` keeps the original upload surface, while `md` and `sm` provide more compact options.
Media Types
Switch the component between generic files, images, and video uploads. This updates the icon language and default helper copy.
Square Variant
Use the square variant for avatar pickers, cover uploads, and media-first flows. Selected items switch to Attachment cards automatically.
Multiple vs Single
Control whether users can upload one or multiple files. In single mode, the drop zone is hidden once a file is selected.
File Items & Status
Demonstrates how different file statuses (Uploading, Success, Error) are rendered in the list.
Accepted File Types
Restrict uploads to specific file types using the standard HTML accept attribute.
States
The disabled state prevents all interactions including dragging and clicking.