Navigation Menu
Preview Navmenu
A menu with a preview on the right: hovering or focusing a row shows its own picture, all of it on :has(), with no state and no JS.
What you can change
- the entries array: links, hints and preview captions
- triggerLabel — the caption of the button that opens the panel
- the accent through the accent prop — it colours the focus rings
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/navmenu-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
The component is self-contained: one file, no dependencies, its own palette in local variables --vibeui-navmenu-005-*. Server-side: no hooks. The previews lie stacked in a shared area, and the one shown is whichever row is under the cursor or focused — through :has() rules on data-index. When nothing is selected the first one is shown: a separate rule with a double :not(:has(...)) is responsible for that. The pictures are drawn as gradients from the hue of the label, so the menu pulls in no image files.
Tags
- navmenu
- preview
- has-selector
- no-js
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…