Navbar
Header with a bulb garland and a snow switch
A winter-wedding header: a garland of bulbs sags along the bottom edge with a rare warm twinkle, a snowflake monogram and handwritten names on the left, small-caps sections in the middle, a snow switch, click-to-play music and “RSVP” on the right. Transparent over the hero photo; on scroll it settles on frosted glass and the garland goes out.
What you can change
- initials, names, brandHref, links, actionLabel, actionHref
- music, musicLabel, playingLabel, snowToggle, snowLabel, placement, spy
- 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-027?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 scroll, the scroll spy, music and snow. A position:fixed <header> (placement=static puts it in the flow for previews); the [data-part=veil] backdrop with backdrop-filter appears on data-scrolled (scrollY>40, first read from rAF) and when the menu is open; before scrolling the text is cream with a shadow. The garland is two SVGs viewBox 1000×20: the wire in arcs (Q segments) and 28 bulbs in the sags, twinkling via keyframes with nth-child delays; on scroll it lifts and fades. The monogram is two letters and an SVG snowflake slowly rotating. Sections are Cormorant small caps, the active one gets a candle dot underneath via IntersectionObserver (rootMargin -40 %/-55 %), aria-current. The snow button is aria-pressed, sets data-vibeui-snow="off" on <html> and dispatches vibeui-snow (background-006 listens). Music is <audio loop preload=none>, play() only on click, lines breathe via keyframes. Below 60rem the names and sections move into [data-part=sheet] behind “Menu”. Palette --vibeui-navbar-027-* is neutral: ink and paper via light-dark(), the site colours come through the accent, ink and background props; dark theme via .dark/[data-theme] or tone. Cormorant Garamond, Marck Script and Manrope come via <link precedence> from Google Fonts with system fallbacks. accent and background override colours, prefers-reduced-motion disables animations.
Tags
- wedding
- winter
- navbar
- garland
- lights
- snow
- music
- sticky
- christmas
- dark
- candle
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…