AiFileUpload
File Upload
Drag-and-drop file upload with validation, progress, and file list.
Drag files here or click to upload
Usage
<AiFileUpload accept=".pdf,.txt,image/*" :max-size="5 * 1024 * 1024" @upload="onUpload" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| accept | string | — | Accepted file types (e.g. ".pdf,image/*") |
| multiple | boolean | true | — |
| maxSize | number | — | Max file size in bytes |
| maxFiles | number | 10 | — |
| disabled | boolean | false | — |
Slots
defaultdropzonedropzone-contentfile-listfilefile-progressfile-actions