A comprehensive file upload component with drag & drop, validation, and progress tracking.
Validates file type (images only), max files (2), and max size (2MB).
Drag & drop files here
Or click to browse (max 2 files)
npx shadcn-vue@latest add https://raya-ui.com/registry/file-upload.jsonSimulates chunked upload progress.
Drag & drop files here
Or click to browse
Uses the circular variant for the progress indicator.
Drag & drop files here
Or click to browse
Uses the fill variant which overlays the preview.
Drag & drop files here
Or click to browse
Demo of how it would look with UploadThing (simulated).
Drag & drop files here
Or click to browse
Complex composition with a textarea and overlay dropzone.
Drag & drop files here
Simple form validation without external libraries.