Skip to content

FormFileDropzone ​

Drag and drop plus a button, with accept, size and count limits, previews and errors.

ts
import { FormFileDropzone } from '@zairakai/vue-components/Form'

Usage ​

vue
<FormFileDropzone />

Props ​

NameTypeDefaultDescription
idstring
classstring
modelValuearrayundefinedThe files, as an array of File.
acceptstringWhat is accepted: ".pdf,image/*".
multiplebooleantrue
maxSizenumberBytes.
maxFilesnumber
labelstring'Drop files here or'
browseLabelstring'browse'
removeLabelstring'Remove'
namestring
formstring
requiredbooleanfalse
disabledbooleanfalse
previewsbooleantrueShow a preview of the images.

Events ​

NameDescription
update:modelValue
reject

Slots ​

NameDescription
default
help

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.