Beautiful and Full-featured File Upload Component for Vue JS | vue-file-agent

Vue File Agent is a high-performance Vue file upload component with elegant and distinct previews for every file type and support for drag and drop, validation, default upload with progression support, and externally customizable in the “vue way“.

file upload with preview vuejs, vue js file upload with preview, file upload with preview npm, file upload with image preview, file upload with preview js


  • Designed exclusively for Vue with simplicity and performance in mind
  • No dependency but small footprint – 17KB minified, compressed
  • Sleek and responsive design with two official themes: Grid view and List view
  • File entry with drag and drop with folder support
  • Smooth transitions
  • Multiple file downloads
  • Maximum file size, check accepted file types
  • Preview image/video/audio
  • File type icons
  • default uploader with progress
  • It can be controlled externally via Vue bind methods and methods
  • Built-in to support server-side validation and error handling
  • Examples of the official download server for PHP and Node Js
  • File names can be edited using: Editable property
  • Intuitive drag and drop sortable with Sortable support
  • Resume uploads with: Resume feature through the protocol
  • It can be used with any CSS framework/component, including but not limited to Bootstrap, Bulma, Tailwind, Vuetify, etc.

How to make use of it:

Install and download:

$ npm install vue-file-agent --save

1. Install and import the Vue File Agent component.

import Vue from 'vue';
import VueFileAgent from 'vue-file-agent';
import VueFileAgentStyles from 'vue-file-agent/dist/vue-file-agent.css';

2. Register the component and we are ready to go.


3. Create a new file upload component.

export default {
    return {

Beautiful File Uploader With Preview, Vue File Agent Plugin/Github

See Demo And Download

Official Website(safrazik): Click Here

This superior jQuery/javascript plugin is developed by safrazik. For extra advanced usage, please go to the official website.

Related Posts


Adding Zoom-on-Wheel and Pan-on-Drag to Inline SVG Elements

Vanilla-js module for adding zoom and panning behavior when dragging to SVG embedded elements. A lightweight Vanilla JavaScript plugin that enables zoom and pan functions on an…


Sorting HTML Table Vanilla JavaScript Library | Sortable.js

Sortable – Small JS vanilla table sorter makes any table with class = “sortable“, er, sortable. That is, the user can click the table header and change…


WYSIWYG Rich Text Editor With jQuery And FontAwesome | RichText

RichText jQuery implementation for WYSIWYG Rich Text Editor which uses Font Awesome Iconic Font for editor icons. It is licensed under AGPL-3.0. Initialize editor Simply call .richText() on your jQuery(‘textarea’) or jQuery(‘input’)…


[Autocomplete] Email Domain Suggestions Like Gmail, Outlook, or More | email-genie

Email Genie allows auto-completion in the email field by providing a list of domain suggestions (,, etc.). This package is lightweight, flexible, compatible with libraries (jQuery,…


[Generator] JavaScript Library for Creating Squircley Magic ✨ | squircley.js

squircley.js is the core magic of Squirclular ✨ from wrapped in a simple 0-dependency JavaScript library. squircley.js can generate SVG files, add square backgrounds to DOM…