Navbar
Docs Navbar with Search
A documentation header: a compact brand with the section name, a version disclosure, a search capsule with a shortcut and a light/dark surface toggle. Both "/" and Cmd/Ctrl+K work, and the key caption matches the reader's platform.
What you can change
- brand, section, links, version, versions — the documentation content
- tone — the starting surface; themeToggle={false} removes the toggle if your provider owns the theme
- searchAction — the project's search handler; read the q field on the server
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-006?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. Search stays open and the shortcut is an accelerator, not a gate: "/" is captured only outside input fields, Cmd/Ctrl+K works everywhere. The key caption is known only on the client, so a neutral "/" is shown until hydration and then "⌘K" or "Ctrl K". The surface toggle switches the block's own theme through data-tone — in a project you wire its handler to your theme provider. The version disclosure closes on Escape and on an outside click. Palette --vibeui-navbar-006-*.
Tags
- navbar
- header
- docs
- documentation
- search
- version
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…