@svar-ui/vue-uploader

SVAR Vue Uploader library - file upload component with drag and drop support
8,625 2
Install
npm install @svar-ui/vue-uploader
Latest Version:2.6.1
Vue:3
License:MIT
Last Updated:Sep 2, 2026
Links: GitHub  ·  npm
Maintainer: marta-ko

SVAR Vue File Uploader

npm License npm downloads

A Vue UI component for easy and intuitive file uploading, allowing users to drag and drop files or select them from their device. See the demos here.

How to Use

To use the widget, simply import the package and include the component in your Vue file:

<script setup>
import { ref } from "vue";
import { Uploader, UploaderList } from "@svar-ui/vue-uploader";
import "@svar-ui/vue-uploader/all.css";

const data = ref([]);
const uploadURL = "http://localhost:3000/data";

function handleUpload(ev) {
	console.log(ev);
}
</script>

<template>
	<UploaderList v-model:data="data" />
	<Uploader :uploadURL="uploadURL" v-model:data="data" @upload="handleUpload" />
</template>

How to Modify

Typically, you don't need to modify the code. However, if you wish to do so, follow these steps:

  1. Run yarn to install dependencies. Note that this project is a monorepo using yarn workspaces, so npm will not work
  2. Start the project in development mode with yarn start

Run Tests

To run the test:

  1. Start the test examples with:
    yarn start:tests
    
  2. In a separate console, run the end-to-end tests with:
    yarn test:cypress
    

Related Packages

@svar-ui/trial-vue-calendar

SVAR Vue Calendar library

422
@svar-ui/vue-core

SVAR Vue Core library is a collection of customizable Vue UI components and form...

40,392 11
@svar-ui/lib-vue

@svar/lib-vue is a library that provides helpers for Vue integration

40,182 1
@svar-ui/vue-menu

SVAR Vue Menu library - create basic menu bar, actions or context menu

37,828 2
@svar-ui/vue-toolbar

SVAR Vue Toolbar library - create button and icon panels with configurable, resp...

35,696 5

Version History

Version Released License
2.6.1 MIT
2.6.0 MIT
2.5.1 MIT
2.5.0 MIT