Navbar
Navbar over a Photo
A header over a photo or video: unbacked on the first frame, settling onto a dense blurred panel once you scroll. The contrast version is chosen up front — for a dark frame or a light one.
What you can change
- demo={false} in a project — the header sits on your frame; sticky={false} drops the pinning
- theme — the version for a dark or light frame; links, brand, actionLabel — the content
- accent — the brand color of the mark, the action and the glider
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-008?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 two states are told apart by the data-scrolled attribute on the dock: at the top the header is transparent and the text is held by a shadow; after 24 px of scrolling a translucent panel appears with a backdrop filter, a bottom line and an inner highlight, and the text shadows are dropped. Readability is not computed by blending with the frame's pixels: the contrast version is set by the theme prop. The active-section glider is a separate layer under the links; until the JS is ready the section keeps a static underline. The mobile panel closes on Escape and on an outside click. In the showcase the state is read from the block's own stage, in a project from the window. Palette --vibeui-navbar-008-*.
Tags
- navbar
- header
- overlay
- photo
- hero
- transparent
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…