Navbar
Course header with price and progress
A course landing header: a wordmark with a diamond, a “course · 6 weeks” caption, links, an “Enroll” button with the price in a pill. A reading-progress bar under the header. A “Menu” button on narrow screens.
What you can change
- brand, caption, links, actionLabel, actionPrice, actionHref, menuLabel
- progress, sticky
- accent and background, tone
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-022?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, “use client” for progress and the menu. A sticky <header> with a translucent blurred background. Progress is a span with transform:scaleX(var(--progress)); the value is written into a CSS variable from requestAnimationFrame on scroll (passive), no re-renders. Links and the button from 60rem (container query); below that a “Menu” button with aria-expanded and a list under the header. Palette --vibeui-navbar-022-* is neutral: ink and paper via light-dark(), the site colours come through the accent, ink and background props; Unbounded and Inter via <link precedence> from Google Fonts with system fallbacks. tone pins the scheme, accent, ink and background override colours.
Tags
- course
- education
- edtech
- landing
- header
- navbar
- progress
- sticky
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…