Split Hero with Video Player

New Release

Build faster with modern tools

Streamline your workflow with our next-generation platform. Ship products faster, collaborate seamlessly, and scale without limits.

10K+

Active Users

99.9%

Uptime

24/7

Support

About this block

Split Hero with Video PlayerPRO

Two-column hero with playable video (or image), play button overlay, and key stats row. Perfect for product demos and feature announcements.

Hero35: Split Hero with Video Player

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.

Upgrade to Pro

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.

Upgrade Now

Installation

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

bash
npx shadcn add "https://ui.beste.co/r/hero35?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

Quick start

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.

tsx
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:

tsx
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" },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Optional pill badge above the heading
headingstringMain headline
descriptionstringSupporting paragraph
buttonsButtonItem[][]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
classNamestringExtra classes for the outer <section>
ts
type ButtonItem = {
  label: string;
  href?: string;
  variant?: "default" | "secondary" | "outline" | "ghost";
};

Behavior notes

  • Video is rendered 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.
  • Once playing, the visible play button is replaced by an invisible full-cover <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.
  • No entrance animation or Framer Motion is used; the only client state is isPlaying.

More Hero blocks

View all Hero
FREE

hero65

Split Hero with YouTube Video

Two-column hero with embedded YouTube video player in responsive aspect ratio container. Perfect for product demos and explainer video landing pages.

PRO

hero84

Split Hero with Edge-to-Edge Media

50/50 split hero with content left and edge-to-edge video/image right with checklist items

PRO

hero92

Split Hero with Bento Feature Grid

50/50 split hero with content left and bento feature grid overlay on video right

PRO

hero90

Stacked Hero with Media Top

Vertical split hero with video/image on top and content section below

PRO

hero102

Split Hero with Timeline Steps

50/50 split hero with content left and vertical numbered timeline overlay on video right

PRO

hero94

Reverse Split Hero with Pill Grid

Reverse split hero with compact 3x2 pill grid over video left, content right