Hero
Hero Video
A centered label pill, heading, lead and two buttons above a wide video that loads and plays on click.
Layout and motion from the Findit template — see it in contextTry it in the page builderBlocks come with Pro and Ultimate
Preview every block now, in any theme and at any width. The source, the install command and your registry token come with a Pro or Ultimate plan.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| as | "h1" | "h2" | "h1" | Heading level — h1 when the hero opens the page. |
| label | string | — | Short line in the pill above the heading, beside a star in the primary color. |
| title / lead | string | — | Heading (text-display) and a muted lead under it. |
| actions | { label, href }[] | — | Up to two buttons: filled, then outlined. A button may set variant: "default" (filled) or "outline"; left out, it looks as described. |
| video | { src, poster, label } | — | An MP4 (or WebM) file, the still shown until it plays, and what the play button says. |
| layout | "centered" | "split" | "centered" | split (Balancee): the heading (and rating) at the left, the lead and buttons in a 300px column at the right, bottom-aligned from 1024px; the video under them, 500px tall. |
| autoplay | "off" | "load" | "view" | "off" | load (or true): the video plays at once, muted and looping, with no play button (still on its poster with reduced motion). "view" (KorDent): the same, but it plays only while a tenth of it is on screen, at 1140 : 601 (Framebrick UI hero-video autoplay="view"). |
| points | string[] | — | Short points after a check, in a row 20px under the buttons (a column on phones) — KorDent's closing call to action. |
| cover | { mark?, caption? } | — | Over an autoplaying video: a black 80% veil with the mark at the top left and the caption at the bottom left, white. |
| rating | { score, max, avatars?, text? } | — | layout="split": stars and the score under the heading, then from 768px a line, up to four faces and a caption. |
| className | string | — | Classes for the <section>. |
- Nothing of the video loads until it is played (preload none); the whole frame is the play button. The round button sits at 75% and comes to full on hover (hero-video, spring bounce 0, 0.4s); it comes back when the video is paused or ends.
- 16:9 below 1024px, 550px tall from 1024px. The section fades from the muted surface to the background over its last quarter.
- Installs as components/hero-video.tsx, beside the player it uses (components/ui/hero-video.tsx, imported as Video).
- The demo clip is a free Pexels video streamed from Pexels; host your own file for production.











