Documentation

Avatar upload

Use the Headless file input component to create your own avatar upload component. It works the same as a regular file input, but you can style it however you want. Below is an example of an avatar upload component.

Upload preview
Show code
vue

File upload

Use the Headless file input component to create your own file upload component. It works the same as a regular file input, but you can style it however you want. Below is an example of a file upload component.

Drop files to upload

Or
Show code
vue
v-model
Show example
vue
filter-file-dropped
Allows to filter files when dropped.
Show example
vue
id
The form input identifier.
Show example
vue
multiple
Allows multiple files to be selected.
Show example
vue
#default
Show example
vue
el
The underlying HTMLInputElement element.
Show example
vue
files
The model value of the file input.
Show example
vue
open
Opens the native file input selector.
Show example
vue
remove
Removes a file from the input.
Show example
vue
preview
Returns the preview DataURL of a file.
Show example
vue
drop
Handles the drop event.
Show example
vue