Hero

Video intro hero: loader, a car driving in, a freeze frame and a wordmark behind the roof

An intro first screen: the page opens empty, a tachometer sits in the centre: the needle follows the clip download with rpm in digits, and at 100% it hits the rev limiter for a second before the start. Then the video plays once and stops on its last frame, where the car stands side-on. Only then the same car without background lands on top, a huge brand wordmark rises between them — as if from behind the roof — and the headline and the main button fade in — a round «Engine start» in a glass capsule: on hover a ring runs around it in the accent, on press it sinks and shudders like a starter. On the freeze frame the whole car is alive: over it the cursor turns into a ring, a price tag floats beside it — a fixed-size tag, the text crossfades from zone to zone, the price counts up — for the chosen part (body, interior, hood, lights, wheels); chip buttons duplicate the zones for keyboard and phone. A Skip / Replay button; with reduced motion the freeze frame shows right away.

What you can change

  • videoSrc, videoWebmSrc, stillSrc, carSrc — your own clip and frames from it
  • wordmark, eyebrow, title (array of lines), lede
  • primaryLabel, primaryHint, primaryHref, startLabel — the main button styled as an engine start button; secondaryLabel, secondaryHref — a second button, off by default

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

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-046?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

A composite block: imports button-016 from @/components/vibeui/ — the install command brings it along with the block. The block owns the layout and its own text, the parts receive props only. One file, zero npm dependencies, “use client” to drive the video. The freeze frame sits in a 16:9 [data-part=frame] that mimics object-fit:cover via container query units (width:max(100cqw,177.778cqh)); the video, the wordmark and the cut-out car are placed in frame percentages and line up with the shot at any width. On a wide block (≥56rem) the frame takes ~86 % of the width on the right, its left and bottom edges dissolve via mask-image, the copy sits bottom-left. Phases in data-phase: loading (the clip is fetched with progress from Content-Length into a blob; an SVG tachometer 0–8k on a 240° arc, the needle rotates with progress, then LIMITER_MS of rev limiter) → playing → parked (ended). The phase is mirrored as data-vibeui-hero-046 on <html>: the page can hide its header until it equals parked. With no network, an unsupported codec or blocked autoplay it goes straight to parked and stillSrc. Media come in as props: videoSrc (mp4/H.264), videoWebmSrc (VP9, used when the browser cannot play H.264), stillSrc (last frame), carSrc (the car from the last frame without background, PNG/WebP with alpha at the frame size). Zones: shapes in 1920×1080 frame coordinates — a points polygon or a cx/cy/r circle; whether the cursor is on the car is decided by the alpha of carSrc (a map downscaled 4×), which part — by the zone shapes; the first zone takes everything else on the silhouette, so there are no empty gaps. The tag and the ring move by transform only (ResizeObserver caches the sizes), the tag chases the cursor with inertia and switches sides smoothly near the edge; pin is where it sits when a zone is chosen with a button.

Tags

  • hero
  • video
  • auto
  • car
  • detailing
  • intro
  • cinematic
  • freeze frame
  • wordmark
  • cutout
  • parallax
  • composite
Component source

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

Loading…