Cinematic Hero with Overlapping Media

Centered hero with inset background media and overlapping product image

PRO

Hero80: Cinematic Hero with Overlapping Media

Centered hero with two independent media slots: a dimmed background image or video inset behind the heading and buttons, and a second foreground image or video pulled up with a large negative top margin so it visually overlaps the bottom of the background zone.

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.

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/hero80?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

This installs the block to components/beste/block/hero80.tsx along with the badge and button shadcn/ui primitives it depends on.

Quick start

The installed file exports hero80Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.

tsx
import { Hero80, hero80Demo } from "@/components/beste/block/hero80";

export default function Page() {
  return <Hero80 {...hero80Demo} />;
}

Then replace the demo with your own props. Written out, the same setup looks like this:

tsx
import { Hero80 } from "@/components/beste/block/hero80";

export default function Page() {
  return (
    <Hero80
      badge={{ label: "New", variant: "secondary" }}
      heading="Build stunning websites with easy tools"
      description="Turn ideas into beautiful, professional sites with an intuitive no-code platform."
      buttons={[
        { label: "Get Started", href: "/signup" },
        { label: "Watch Demo", href: "/demo", variant: "outline" },
      ]}
      backgroundMedia={{ type: "image", src: "https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=1600&h=900&fit=crop" }}
      media={{ type: "image", src: "https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1200&h=800&fit=crop", alt: "Dashboard preview" }}
      invertColor
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Small label above the heading
headingstringMain headline
descriptionstringSupporting paragraph under the heading
buttons{ label: string; href: string; variant?: "default" | "outline" }[][]CTA buttons rendered centered below the description
backgroundMediaMediaItemImage or video inset behind the top text zone, with a dark or light overlay
mediaMediaItemSecond image or video pulled up over the background zone with a negative margin
invertColorbooleantrueSwitches text and overlay between dark-background and light-background styling
classNamestringExtra classes for the outer <section>
ts
type MediaItem = {
  type: "image" | "video";
  src: string;
  alt?: string;
};

Behavior notes

More Hero blocks

View all Hero
PRO

hero100

Fullscreen Hero with Browser Mockup

Fullscreen hero with centered content and browser window frame mockup over inset background video

PRO

hero90

Stacked Hero with Media Top

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

PRO

hero82

Left-Aligned Hero with Gradient Overlay

Left-aligned fullscreen hero with inset background media and directional gradient overlay

PRO

hero115

Cinematic Image Hero

Full-bleed background-image hero with a legibility scrim and bottom-aligned eyebrow, headline, copy and CTAs.

PRO

hero97

Bottom-Aligned Hero with Stack Cards

Fullscreen bottom-aligned hero with vertical stack cards and inset background video with gradient overlay

FREE

hero7

Centered Hero with Media

Centered hero with optional badge, heading, description, dual action buttons, and a featured image below. Perfect for product launches and landing pages.