Left-Aligned Hero with Gradient Overlay

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

PRO

Hero82: Left-Aligned Hero with Gradient Overlay

Fullscreen hero with left-aligned copy over an inset background image or video, darkened by a directional left-to-right gradient so the text stays legible while the right side of the image stays visible.

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

Base UI flavor

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

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

Quick start

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

tsx
import { Hero82, hero82Demo } from "@/components/beste/block/hero82";

export default function Page() {
  return <Hero82 {...hero82Demo} />;
}

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

tsx
import { Hero82 } from "@/components/beste/block/hero82";

export default function Page() {
  return (
    <Hero82
      badge={{ label: "Introducing V2", variant: "secondary" }}
      heading="Design without limits, build without boundaries"
      description="A modern workspace for teams who want to move fast."
      buttons={[
        { label: "Get Started", href: "/signup" },
        { label: "Learn More", href: "/product", variant: "outline" },
      ]}
      backgroundMedia={{ type: "image", src: "https://images.unsplash.com/photo-1621063573999-5af1e96634f8?w=1600&h=900&fit=crop" }}
      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 left-aligned below the description
backgroundMedia{ type: "image" | "video"; src: string; alt?: string }Full-viewport inset image or video behind the content
invertColorbooleantrueSwitches text and overlay between dark-background and light-background styling
classNamestringExtra classes for the outer <section>

Behavior notes

More Hero blocks

View all Hero
PRO

hero97

Bottom-Aligned Hero with Stack Cards

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

PRO

hero83

Bottom-Aligned Hero with Quick Links

Bottom-aligned fullscreen hero with inset background media and right-side quick link cards

PRO

hero100

Fullscreen Hero with Browser Mockup

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

PRO

hero80

Cinematic Hero with Overlapping Media

Centered hero with inset background media and overlapping product image

PRO

hero81

Fullscreen Hero with Quick-Access Cards

Cinematic fullscreen hero with inset background media and glassmorphism quick-access cards

PRO

hero90

Stacked Hero with Media Top

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