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”.

React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.

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

Built from

The install command brings these components too. The block only passes them props: their palette and behaviour stay their own.

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

Preview

1440pxHost theme
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”.

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.club/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…

How to use

<Navbar025
  monogram="V & A"
  caption="05 · 09 · 2027"
  date="2027-09-05T15:00:00+03:00"
  links={[
    { label: "Story", href: "#story" },
    { label: "Schedule", href: "#program" },
    { label: "Venue", href: "#place" },
    { label: "FAQ", href: "#faq" },
  ]}
  actionLabel="RSVP"
  actionHref="#rsvp"
  music="/audio/wedding.mp3"
/>

A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.

Settings

Monogram
monogram · default: V & A
Date
caption · default: 05 · 09 · 2027
Button
actionLabel · default: RSVP
Theme
tone · default: auto
Accent
accent · default: theme colour
Background
background · default: theme colour

Used in scenarios

FAQ

How do I add Two-tier invitation header with a monogram and music with Cursor or Claude Code?
Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
What does Two-tier invitation header with a monogram and music depend on?
No npm packages beyond React and Tailwind CSS. It also installs catalog components: button-016.
What can I change in Two-tier invitation header with a monogram and music?
Adapt: 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. Keep as installed: the button-016 imports from @/components/vibeui/ — do not inline their code into the block or swap in your own; the parts receive props only; the two tiers: date and counter left, monogram centre, sections beneath — and the smooth fold into one row on scroll (monogram fades out and reappears on the left); the live “N days to go” counter under the date, computed from date.
Is Two-tier invitation header with a monogram and music free?
The preview is open to everyone; the source is available with a PRO subscription.

For developers

npx shadcn@latest add https://vibeui.club/r/pro/navbar-025.json

This command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options

Technical notes

A composite block: imports button-016 from @/components/vibeui/ — the install command brings them along with the block. The block owns the layout and its own text, passes the parts props only and leaves their --vibeui-<name>-* palettes alone. One file, zero npm 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
  • composite
Component source

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

Loading…