Input Group
Filter Search
Search with a filter toggle on the left and a clear button on the right: the two buttons are independent and never touch each other's state.
What you can change
- the label and placeholder copy
- the filterText captions and the logic for your scenario (the onFilterChange handler)
- the field's starting value
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/inputgroup-012?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, no dependencies, its own palette in the local --vibeui-inputgroup-012-* variables. Client-side: "use client" for the sake of the text state and the filter toggle. The filter button on the left is a toggle with aria-pressed and an accent colour of its own when on, and the clear button on the right is mounted only for a non-empty value and returns focus to the field after a press. The parts share the frame through collapsed borders, and the focused element is raised with z-index.
Tags
- inputgroup
- search
- filter
- clear
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…