Hero
Catalog Search Hero
A catalog hero whose door into the product is a search field: a GET form with an input and a button, a result counter beneath it and popular queries as links. It follows the surrounding theme and lays no panel of its own under the page.
What you can change
- the title and lede copy, the placeholder value and the submitLabel button caption
- the counter text under the search line
- popularTitle and up to six queries in the popular list
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/hero-013?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
A server component, one file, zero dependencies. The --vibeui-hero-013-* palette is built on light-dark(): a cool light base and a separate dark pair where the rules are lighter than the background. There is no backdrop by default — the section lies on the page background, and the background prop turns it on and sets color-scheme according to the lightness of the given colour. The form is marked role="search", the method is GET, and the field is a type="search" named q — without JavaScript it works as an ordinary search, and with JavaScript it is easy to intercept. The field and the button lie in a single pill frame, and the highlight on :focus-within covers both. The popular queries are a <nav> with a list of links carrying a ready query parameter: they are both hints and internal linking.
Tags
- hero
- search
- catalog
- light
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…