vibran

Tag input

Also called: chips input

Each word becomes a tag on Enter or comma. Backspace highlights then deletes the last one, duplicates are refused (the existing tag shakes) and a pasted list becomes several tags. Clickable shortcuts sit below.

Preview of Tag input running live
Copy the promptAdjust colors and speed

When to use it

Keywords, services, invitee emails, filters. data-max limits the count and data-sugestoes shows shortcuts for people who do not know what to type. The value goes in a hidden comma-separated field, so it works in a plain form; for long lists use the tags event.

How to add it to your site

  1. Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. Done: the AI adds the effect to your project, just like you saw it here.

Use it in HTML

The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:

<div data-efeito="campo-tags" data-rotulo="Serviços" data-tags="Corte,Barba" data-sugestoes="Sobrancelha,Hidratação" data-nome="servicos"></div>

More inputs effects

All 14 inputs effects →