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.

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
- 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.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- 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
- Star ratingreview stars
- Expanding search barBusca que se expande
- Glowing inputAI prompt box
- Line draw inputunderline input animation
- Floating label inputCampo com rótulo flutuante
- Credit card formflip card on CVV
- OTP inputverification code input
- Liquid toggle switchgooey switch