Dropzone
A file upload component that supports both drag-and-drop and click-to-upload functionality. It provides a visual interface for users to upload files.
Props
The Dropzone component accepts most props from the base Input, except for type, modelValue, focus, limit, and placeholder.
Events
| Name | Type | Description |
|---|---|---|
files | FileList | Emitted when files are selected or dropped |
Slots
| Name | Accepts | Description |
|---|---|---|
default | any | Content to be displayed inside the drop area |