Navbar

Two-tier invitation header with a monogram and music

A wedding site header like the top of a card: the date and a live “352 days to go” counter on the left, the monogram in italic serif with an accent ampersand in the centre, a quiet “Music” pill with four thin sound lines that come alive while playing (on click only) and an accent “RSVP” pill on the right; the sections as a second tier with dots between. On scroll the tiers fold smoothly into one row: the large monogram fades, a small one fades in on the left where the date was, the sections rise into its row; cream glass beneath. On narrow widths the sections hide behind “Menu”.

What you can change

  • monogram, caption, date (ISO), daysLabels, brandHref, links (labels and anchors), actionLabel, actionHref
  • music (track path; empty — no pill), musicLabel, playingLabel, placement, spy
  • accent and background, tone

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/navbar-025?lang=en&theme=dark

2Paste into the chat
3Get it in your project

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 counter, the scroll spy and music. 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. A 1fr auto 1fr grid: the date with the day counter (setInterval once a minute, empty on the server), the monogram (split on “ & ”, the ampersand takes the accent), tools; sections are a second row with ::before dots. Folding without re-layout: the centre monogram is absolute in the row and fades (opacity), [data-part=brand-small] fades in on the left where the date fades out, the sections rise via transform:translateY with a negative margin-bottom — all transitions, hence smooth. The active section comes from an IntersectionObserver on the anchors (rootMargin -40 %/-55 %), aria-current and a scaleX underline. Music is <audio loop preload=none>, play() only on click (browsers block autoplay), aria-pressed, the four lines in the pill breathe via keyframes with staggered delays, the label switches to “Playing”. Below 56rem links and the button move into [data-part=sheet] behind the “Menu” button (aria-expanded). Palette --vibeui-navbar-025-* 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 and Manrope come via <link precedence> from Google Fonts with Georgia and system fallbacks. accent and background override colours, prefers-reduced-motion disables animations.

Tags

  • wedding
  • invitation
  • navbar
  • monogram
  • music
  • countdown
  • days
  • sticky
  • collapse
  • serif
  • cream
  • rsvp
  • sound wave
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…