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

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.club/c/hero-026?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…
How to use
<Hero026
names="Sonya & Timur"
script="fly to get married"
date="2027-02-12T09:40:00+03:00"
dateLabel="12–14 February 2027"
place="Cayo Largo · Havana"
image="/photos/beach.webp"
photo="/photos/couple.webp"
photoCaption="Havana, 2025"
from="SVO"
to="HAV"
boardingPass
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Names
names· default: Sonya & Timur- Script line
script· default: fly to get married- Boarding-pass intro
boardingPass· default: on- Theme
tone· default: auto- Accent
accent· default: theme colour- Background
background· default: theme colour
Used in scenarios
- Wedding in CubaPass and hero
More in Hero
FAQ
- How do I add Travel hero with a boarding pass and a beach 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 Travel hero with a boarding pass and a beach depend on?
- No npm packages beyond React and Tailwind CSS. It also installs catalog components: button-016.
- What can I change in Travel hero with a boarding pass and a beach?
- Adapt: 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. 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 full-screen boarding pass with the stub tear and the fade into the beach — the page's main gesture; the poster caps names with the script line and glass countdown tiles over the photo.
- Is Travel hero with a boarding pass and a beach 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/hero-026.jsonThis 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 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
- composite
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…