Press "Enter" to skip to content

A Tags Input Component for VueJS

vue-tags-input is a tag input component for VueJS with autocomplete, custom validation, templates, and more.

vue 3 tags input, vue tags input, vue input tag example, vue tags input npm, vue tag component, input tag npm

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

How to make use of it:

Install

npm install @johmun/vue-tags-input

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>

tags input component for vue js, vue tags input Plugin/Github


See Demo And Download

Official Website(JohMun): Click Here

This superior jQuery/javascript plugin is developed by JohMun. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.