Two-column hero with playable video (or image), play button overlay, and key stats row. Perfect for product demos and feature announcements.
Two-column hero with a playable video (or static image) on one side: the video is muted and loops by default, with a centered play button overlay that toggles playback and disappears once the clip is playing, plus a three-column key-stats row under the CTA buttons.
Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.
Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.
Radix flavor
npx shadcn add "https://ui.beste.co/r/hero35?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero35?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero35.tsx and the Badge and Button shadcn/ui primitives it uses.
The installed file exports hero35Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero35, hero35Demo } from "@/components/beste/block/hero35";
export default function Page() {
return <Hero35 {...hero35Demo} />;
}Then replace the demo with your own props. Written out, the same setup looks like this:
import { Hero35 } from "@/components/beste/block/hero35";
export default function Page() {
return (
<Hero35
heading="Build faster with modern tools"
description="Ship products faster and scale without limits."
buttons={[{ label: "Get Started", href: "/signup" }]}
media={{
type: "video",
src: "/videos/product-demo.mp4",
poster: "https://images.unsplash.com/photo-1767805504153-73e4a6e4ccc1?w=900&auto=format&fit=crop",
}}
stats={[
{ value: "10K+", label: "Active Users" },
{ value: "99.9%", label: "Uptime" },
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string; variant?: "default" | "secondary" | "outline" } | – | Optional pill badge above the heading |
heading | string | – | Main headline |
description | string | – | Supporting paragraph |
buttons | ButtonItem[] | [] | CTA buttons under the description |
media | { type: "video" | "image"; src: string; poster?: string; alt?: string } | – | Video or image filling the media panel |
stats | { value: string; label: string }[] | [] | Three-column stat row under the CTAs |
displayPosition | "left" | "right" | "left" | Which side the text column renders on |
className | string | – | Extra classes for the outer <section> |
type ButtonItem = {
label: string;
href?: string;
variant?: "default" | "secondary" | "outline" | "ghost";
};muted loop playsInline with no native controls; the only playback control is a centered play button that calls videoRef.current.play()/.pause() and toggles an isPlaying state, which also mirrors the video element's own onPlay/onPause events.<button> so clicking anywhere on the video pauses it again; there is no separate visible pause icon.media.type === "image" renders a plain <img> instead; if media is omitted or its type doesn't match either case, a muted "Media placeholder" text renders inside the aspect box so the panel never collapses to empty.stats always lays out in a fixed grid-cols-3, so passing fewer or more than three items will leave gaps or wrap awkwardly rather than reflow.displayPosition: "right" swaps the text and media columns using two independent lg:order-2/lg:order-1 classes, one per column.isPlaying.hero65
Two-column hero with embedded YouTube video player in responsive aspect ratio container. Perfect for product demos and explainer video landing pages.
hero92
50/50 split hero with content left and bento feature grid overlay on video right
hero84
50/50 split hero with content left and edge-to-edge video/image right with checklist items
hero90
Vertical split hero with video/image on top and content section below
hero94
Reverse split hero with compact 3x2 pill grid over video left, content right
hero102
50/50 split hero with content left and vertical numbered timeline overlay on video right