Navbar
Shop Navbar with Search
An e-commerce header: a search capsule in the centre with an icon and an accent button inside, a catalog button with groups, favourites and a cart with a counter, and a quiet delivery notice.
What you can change
- brand and catalogLinks — the shop name and the catalog groups; notice="" removes the service line
- searchAction — the project's search handler; read the q field on the server
- cartCount — the number of items; zero hides the counter
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/navbar-005?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
One file, zero dependencies, a client component. The search field is the main object of the header, so on focus it changes its fill and gains a ring rather than a thin border: while typing you can see where the text goes. The catalog button morphs its bars into a cross, the group panel closes on Escape and on an outside click, and its links get tabindex=-1 while closed. The cart counter is separated from the background by a ring, so it stays readable over imagery. The search form and cart state are the host project's job — this is only accessible markup: a real <form role="search"> with a submit button. Palette --vibeui-navbar-005-*.
Tags
- navbar
- header
- shop
- ecommerce
- search
- cart
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…