@sergor5/vue-tags-input

A tags input component for VueJS with autocompletion, custom validation, templating and much more
365
Install
npm install @sergor5/vue-tags-input
Latest Version:2.1.10
Vue:2
License:MIT
Last Updated:May 10, 2021
Links: GitHub  ·  npm
Maintainer: sergor5

vue-tags-input

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

ℹ️ Forked from @johmun/vue-tags-input which seems no longer maintained.

Demo & Docs(⚠️ → @johmun/vue-tags-input)

Features

  • No dependencies
  • Custom validation rules
  • Hooks: Before adding, Before deleting ...
  • Edit tags after creation
  • Fast setup
  • Works with Vuex
  • Small size: 34kb minified (css included) | gzipped 9kb
  • Autocompletion
  • Many customization options
  • Own templates
  • Delete tags on backspace
  • Add tags on paste
  • Examples & Docs

Install

NPM

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>

License

MIT

Copyright (c) 2019 Johannes Munari

Related Packages

@johmun/vue-tags-input

A tags input component for VueJS with autocompletion, custom validation, templat...

878,155 951
@frk/vue-tags-input

A tags input component for VueJS with autocompletion, custom validation, templat...

2,671 0
@sipec/vue3-tags-input

A tags input component for Vue 3 with autocompletion, custom validation, templat...

342,472 23
@wslyhbb/vue3-tags-input

A tags input component for Vue 3 with autocompletion, custom validation, templat...

173,275 0
@savingsunited/vue3-tags-input

A tags input component for Vue 3 with autocompletion, custom validation, templat...

4,158 0

Version History

Version Released Vue License
2.1.10 2.x MIT
2.1.9 2.x MIT
2.1.8 2.x MIT
2.1.7 2.x MIT
2.1.6 2.x MIT