Hero
Hero with a candle intro and a house in a snowy forest
A winter-wedding hero: a dark screen and one candle — a click on the wick lights it, warm light spreads and reveals the page. Behind it a house in a snowy forest fills the frame, serif names with a handwritten line, date and place, a “to the wedding” countdown in frosted glass tiles, “RSVP” and “Add to calendar”, a handwritten note; on the right a couple photo in an arched window frame with frost in the corners.
What you can change
- names, script, eyebrow, date (ISO), dateLabel, place, lede, note, countdownCaption, countdownLabels
- primaryLabel/Href, calendarLabel/Title/Location, image, photo, photoCaption, candle, candleLabel, candleHint
- 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/hero-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 the intro, countdown and .ics. The background is an <img> object-fit:cover under a night gradient. Layout from width: a column below 56rem, two columns 1.3fr/.7fr from 56rem. The intro is [data-part=gate] position:fixed over the screen (z-index 60) with a candle button: wax with drips, a saucer, a wick, the flame and a halo; data-lit turns on the flame (flicker keyframes), the backdrop's ::before grows from a point into a warm pool over 2.6 s, the backdrop dissolves after 1.9 s, the hero content rises after 2.4 s (data-intro). Inside a nested frame (window.self !== window.top) the candle is not rendered — via useSyncExternalStore. The countdown is a 1-second setInterval with Cormorant lining numerals. “Add to calendar” builds a text/calendar Blob with a nine-hour VEVENT. The window is a frame with an arched top, corner frost via radial-gradient with mix-blend-mode:screen. Palette --vibeui-hero-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
- hero
- candle
- intro
- snow
- countdown
- calendar
- ics
- night
- forest
- dark
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…