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

Features

  • 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 tus.io 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
$ 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.

Vue.use(VueFileAgent);

3. Create a new file upload component.

<template>
  <VueFileAgent
    :uploadUrl="/path/to/uploadUrl"
    v-model="filesData"
  ></VueFileAgent>
</template>
export default {
  data(){
    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

vuejs-dialog-plugin

Vuejs Lightweight Prompt Based On Promise And Confirm Dialog

VUEJS DIALOG PLUGIN is a lightweight, promise-based, prompt, and dialog-based alert. Important updates The dialog will always be resolved by an object. (ie a callback to continue…

browser-alert-confirm-dialog-alert4html-js

Insert HTML Into Your Browser Alert & Confirm Dialog | alert4html.js

alert4html.js is a JavaScript library that enables you to insert HTML directly into your browser alerts while simulating Chrome alerts as well. alert4html.js is an alternative to…

Lightweight-Flexbox-Carousel-Plugin

Simple and Lightweight Flexbox Carousel Plugin With JavaScript | flexCarousel.js

Flexbox Responsive Slider – flexCarousel.js plugin is a simple and lightweight plug-in from Flexbox carousel ES6 JavaScript. An unofficial fork by Slick Carousel. Flex Carousel is a…

bootstrap-5-multi-level-dropdown

Multi-Level Dropdown Works With Bootstrap 5

Bootstrap 5 Multi-Level Dropdown, using the official HTML without adding additional CSS styles and classes, it’s just like the original support. Not all of the things listed…

jquery-confirmation-dialog

JQuery UI Built Dynamic Modal That Uses Bootstrap | confirm.js

confirm.js is to use confirm modal created using JQuery and Bootstrap. Put events in each custom button in your web application. Easy to implement, saves time. Requirements…

bootstrap-responsive-navbar

[Bootstrap 5] Responsive Navbar With off-canvas Display on Mobile

The Bootstrap 5-off-canvas navigation menu is a responsive navigation system that combines BS5 components outside of the canvas and navbar. Must Read: Pure CSS Mobile-friendly Responsive Table…