Tags Input
Duplicate Guard
Duplicate checking that does not stay silent: a repeat flashes the existing tag and explains the refusal in words.
What you can change
- label — the field caption
- defaultValue — the starting tag set
- the normalisation rule inside the normalize helper
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/tags-004?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, zero dependencies, its palette in local variables --vibeui-tags-004-*. A client component: the tag list, the draft and the name of the highlighted tag live in state. Comparison runs on the normalised form — lowercase, collapsed whitespace, punctuation stripped from the edges — so "Repair", "repair" and "repair." count as one tag; the spelling saved first is the one shown. The highlight is cleared on onAnimationEnd, otherwise the flash plays once and never repeats again. The message sits in an aria-live="assertive" region: a refusal has to be heard immediately.
Tags
- tags
- duplicate
- validation
- form
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…