# tags-input **Repository Path**: mirrors_developit/tags-input ## Basic Information - **Project Name**: tags-input - **Description**: :bookmark: like magic - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-08-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README tags-input ========== [](https://www.npmjs.org/package/tags-input) [](http://bower.io/search/?q=tags-input) [](https://gitter.im/developit/tags-input) **Features:** - I said `` should be a thing. - With full keyboard, mouse and focus support. - Works with HTML5 `pattern` and `placeholder` attributes, too! - Native [`change`](https://developer.mozilla.org/en-US/docs/Web/Events/change) and [`input`](https://developer.mozilla.org/en-US/docs/Web/Events/input) _("live" change)_ events. - Using [preact](https://github.com/developit/preact)? (or react?) There's a wrapper called [preact-token-input](https://github.com/developit/preact-token-input) - Works in modern browsers and IE10+ **Screenshot:** >  [JSFiddle Demo](http://jsfiddle.net/developit/d5w4jpxq/) --- Examples ======== It's easy to use! In addition to the example code, you'll also need to include `tags-input.css` - I didn't bundle it because that's a bit gross. **CommonJS:** ```js var tagsInput = require('tags-input'); // create a new tag input: var tags = document.createElement('input'); tags.setAttribute('type', 'tags'); tagsInput(tags); document.body.appendChild(tags); // enhance an existing input: tagsInput(document.querySelector('input[type="tags"]')); // or just enhance all tag inputs on the page: [].forEach.call(document.querySelectorAll('input[type="tags"]'), tagsInput); ``` **HTML Example:** ```html
```