Powerful Tags Input Component For Vue.js 2

Powerful Tags Input Component For Vue.js 2

  • 666

Powerful Tags Input Component For Vue.js 2 .A tags input component for VueJs with autocompletion, custom validation, templating and much more.

Description:

A tags input component for VueJs with autocompletion, custom validation, templating and much more.

Features:

  • No dependencies
  • Custom validation rules
  • Hooks: Before adding, Before deleting …
  • Edit tags after creation
  • Fast setup
  • Works with Vuex
  • Small size: 25kb minified | gzipped 8kb
  • Autocompletion
  • Many customization options
  • Own templates
  • Delete tags on backslash
  • Add tags on paste

Install & Download:

npm install @johmun/vue-tags-input

CDN

<script src="https://unpkg.com/@johmun/vue-tags-input/dist/vue-tags-input.js"></script>

Usage

<template>
  <div>
    <vue-tags-input
      v-model="tag"
      :tags="tags"
      @tags-changed="newTags => tags = newTags"
    />
  </div>
</template>
<script>
import VueTagsInput from '@johmun/vue-tags-input';

export default {
  components: {
    VueTagsInput,
  },
  data() {
    return {
      tag: '',
      tags: [],
    };
  },
};
</script>

Preview:

This is image title

Download Details:

Author: JohMun

Live Demo: http://www.vue-tags-input.com/#/

Download Link: https://github.com/JohMun/vue-tags-input/archive/master.zip

Official Website: https://github.com/JohMun/vue-tags-input