Hero

Travel hero with a boarding pass and a beach

A destination-wedding hero: a boarding pass lies over the whole screen — airport codes, a barcode, a yellow stub; a “tear the stub” click rips it off, the pass lifts away and the backdrop dissolves into a full-screen beach. On the beach: poster names in narrow caps with a handwritten “fly to get married”, dates and place, a “to departure” countdown in glass tiles, “Check-in” and “Add to calendar”, a taped polaroid of the couple and a round passport stamp.

What you can change

  • names, script, eyebrow, date (ISO), dateLabel, place, lede, countdownCaption, countdownLabels
  • primaryLabel/Href, calendarLabel/Title/Location, image, photo, photoCaption, stamp, from, to, fromCity, toCity, passLabels, passValues, boardingPass
  • 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/hero-026?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 the intro, countdown and .ics. The background is an <img> object-fit:cover under an ink gradient and grain (SVG feTurbulence). Layout from width: a column below 56rem, two columns 1.3fr/.7fr from 56rem. The pass is [data-part=gate] position:fixed over the screen (z-index 60) with a gradient, a pulsing ::after sun and paper noise; [data-part=pass] is a main/stub grid with perforation between, a repeating-linear-gradient barcode and a rocking plane; data-open tears the stub (rotate+translate), lifts the pass and dissolves the backdrop with a delay, the hero fades in after 2.6 s (data-intro) — a cross-fade. Inside a nested frame (window.self !== window.top) the pass is not rendered — read via useSyncExternalStore. The countdown is a 1-second setInterval, zeros on the first frame. “Add to calendar” builds a text/calendar Blob with a three-day VEVENT. The stamp is an SVG with text on a circle and the date from the ISO string. Palette --vibeui-hero-026-* 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. Oswald, Lobster and Manrope come via <link precedence> from Google Fonts with system fallbacks. accent and background override colours, prefers-reduced-motion disables animations.

Tags

  • wedding
  • travel
  • boarding pass
  • hero
  • beach
  • cuba
  • countdown
  • calendar
  • ics
  • polaroid
  • stamp
  • poster
  • retro
Component source

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

Loading…