@wslyhbb/vue3-tags-input

A tags input component for Vue 3 with autocompletion, custom validation, templating and much more
173,275
Install
npm install @wslyhbb/vue3-tags-input
Latest Version:4.0.1
Vue:3
License:MIT
Last Updated:Jan 30, 2026
Links: GitHub  ·  npm
Maintainer: wslyhbb

vue-tags-input

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

Forked from @johmun/vue-tags-input, which you should use instead if your project is on Vue 2.

Demo & Docs (for the original version)

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 @wslyhbb/vue3-tags-input

CDN

<script src="https://unpkg.com/@wslyhbb/vue3-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 "@wslyhbb/vue3-tags-input";

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

Migration From Vue 2

This version is faithful to the original spec. The only thing you'll have to change is replacing any usages of tags.sync with vmodel:tags in the props

License

MIT

Copyright (c) 2024 Wesley Hobbie

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
@sergor5/vue-tags-input

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

365 0
@sipec/vue3-tags-input

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

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

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

4,158 0

Version History

Version Released License
4.0.1 MIT
3.0.8 MIT
3.0.7 MIT
3.0.6 MIT