Tags

A tag is a keyword or term assigned to a piece of information.

Bootstrap 5 tags

Replace select[multiple] with nices badges.


Add a new tag

It allows you to add new tags without validation or limitation.

Use space and comma

Use a space or comma key to add new tags.

Validation

Only values from the dropdown are accepted.

Please select a valid tag.
Clear buttons

Add a clear button to remove the selected tag.

Custom colors

Add custom color to the tags

Please select a valid tag.
Single value

Only one value is allowed, similar to the <select> element.

Tagify

Transforms an input field or a textarea into a Tags component.


Basic example

You can create any tags you want without any count limits.

Tips: Try Double-clicking a tag to edit it
Whitelist

Only allow tags from the whitelist to exist

Custom suggestions

The dropdown will appear immediately when Tagify has focus.

Render Suggestions List Manually

useful for situations where it is wished showing the suggestions list inside a modal or your own popup implementaion, or even always show it.

Add items from below list:
Readonly

If the original input field has a readonly attribute, then, via CSS, Tagify blocks interactions with pointer-events: none;

Readonly mix

Tags that are read-only mixed with removable tags

Disabled

Disabled tag input

Outside-Of-The-Box

The suggestions dropdown will be rendered right next to input element

Single-Value Select

Similar to native <select> element, but allows free text as value.

Nifty

Background Images

Add an image to replace the solid background color

Layouts

Layouts
Transitions
Header
Additional Offcanvas

Select the offcanvas placement.

Sidebars

Navigation
Sidebar

Colors

Modes
Color Schemes
Expanded Header
Fair Header
Full Header
Primary Nav
Brand
Tall Header
Miscellaneous
Scrollbars

Hides native scrollbars and creates custom styleable overlay scrollbars.

Offcanvas Header
Content Here

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente eos nihil earum aliquam quod in dolor, aspernatur obcaecati et at. Dicta, ipsum aut, fugit nam dolore porro non est totam sapiente animi recusandae obcaecati dolorum, rem ullam cumque. Illum quidem reiciendis autem neque excepturi odit est accusantium, facilis provident molestias, dicta obcaecati itaque ducimus fuga iure in distinctio voluptate nesciunt dignissimos rem error a. Expedita officiis nam dolore dolores ea. Soluta repellendus delectus culpa quo. Ea tenetur impedit error quod exercitationem ut ad provident quisquam omnis! Nostrum quasi ex delectus vero, facilis aut recusandae deleniti beatae. Qui velit commodi inventore.