Tags Input
Suggested Tags
Tags from a fixed list: free input breeds "react", "React" and "reactjs" — three tags instead of one, and search stops working.
What you can change
- label — the field caption
- options — the list of allowed tags itself
- defaultValue — the starting set
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-002?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-002-*. A client component: the picked list and the draft live in state. Suggestions are handed to the native datalist — it filters by what has been typed on its own, handles the keyboard and appears the system way on a phone, so there is no need to write a dropdown. The match is looked up case-insensitively, and the canonical value from options is what reaches the list. Next to it, the options not yet picked sit as buttons: until the first letter is typed a person does not know what can be chosen at all.
Tags
- tags
- autocomplete
- datalist
- form
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…