Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vue-file-agent

> 编程语言
Open source

The most beautiful and full featured file upload component for Vue JS

726 stars0 likes0 views
WebsiteGitHub

About

The most beautiful and full featured file upload component for Vue JS

V2 is in the making...!

Vue File Agent

Every file deserves to be treated equally

High performant Vue file upload component with elegant and distinguishable previews for every file type and support for drag and drop, validations, default uploader with progress support and externally customizable in the "vue way"

Sponsors

Become a Sponsor/Supporter

Live Demo · CodePen Playground

Contributors

Author

Contributors

Features

  • Exclusively designed for Vue with performance and simplicity in mind
  • No dependency but small footprint - 17KB minified, gzipped
  • Elegant and responsive design with two official themes: grid view and list view
  • File input with drag and drop with support for folders
  • Smooth Transitions
  • Multiple File Uploads
  • Max File Size, Accepted file types validation
  • Image/Video/Audio Previews
  • File type icons
  • Default uploader with progress
  • Externally controllable via Vue bindings and methods
  • Built in support for server side validation and error handling
  • Official Upload Server Examples for PHP and Node Js
  • File names can be edited with :editable prop
  • Intuitive drag & drop sortable with :sortable prop
  • Resumable uploads with :resumable prop through tus.io protocol
  • Can be used with any css/component framework, including but not limited to: Bootstrap, Bulma, Tailwind, Vuetify, etc.

Basic Usage

xml

  

NOTE: when uploadUrl is provided, auto uploading is enabled. See Advanced Usage section below for manual uploading example.

xml

That's it?

Yes. That's it. It's that simple. See Advanced Usage section below to tailor it for your specific needs.

Installation

bash
npm install vue-file-agent --save
javascript
import Vue from 'vue';
import VueFileAgent from 'vue-file-agent';
import VueFileAgentStyles from 'vue-file-agent/dist/vue-file-agent.css';

Vue.use(VueFileAgent);

or with script tag

xml

Download from Github

Advanced Usage

xml

  
  
    Upload {{ fileRecordsForUpload.length }} files
  
xml

License

The MIT License

Live Demo

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言