Press "Enter" to skip to content

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.

Be First to Comment

    Leave a Reply

    Your email address will not be published.