Centered Hero with MediaFREE

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

Hero7: Centered Hero with Media

Centered, text-first hero: badge, heading, description, and up to two CTA buttons stacked in a single column, with an optional full-width featured image below the text block. The image is not clipped into a card or aspect box; it renders edge to edge inside a max-w-4xl wrapper with rounded corners.

Free block

This block is free. No license or account is required: install it with the CLI and use it in unlimited projects.

Installation

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/hero7"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/hero7"

This installs the block to components/beste/block/hero7.tsx and the Badge and Button shadcn/ui primitives it uses.

Quick start

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

tsx
import { Hero7, hero7Demo } from "@/components/beste/block/hero7";

export default function Page() {
  return <Hero7 {...hero7Demo} />;
}

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

tsx
import { Hero7 } from "@/components/beste/block/hero7";

export default function Page() {
  return (
    <Hero7
      badge={{ label: "New Release", variant: "secondary" }}
      heading="Build stunning websites with easy tools"
      description="Drag, drop, and customize templates without writing a line of code."
      buttons={[
        { label: "Get Started", href: "/signup" },
        { label: "Watch Demo", href: "/demo", variant: "outline" },
      ]}
      image={{
        src: "https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1200&h=800&fit=crop",
        alt: "Product dashboard screenshot",
      }}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Optional pill badge above the heading
headingstringMain headline (required, no fallback)
descriptionstringSupporting paragraph under the heading
buttonsHero7Button[]CTA buttons rendered in a centered, wrapping row
image{ src: string; alt: string }Featured image below the text block
classNamestringExtra classes for the outer <section>
ts
type Hero7Button = {
  label: string;
  href: string;
  variant?: "default" | "outline";
};

Behavior notes

More Hero blocks

View all Hero
FREE

hero68

Centered Hero with Feature Icons

Centered hero with three feature highlights displayed as icon cards with descriptions below the CTA. Perfect for platform and infrastructure products.

PRO

hero144

Centered Product Hero

A centered hero with an eyebrow pill, a large light heading, a supporting paragraph, two accent buttons, and a wide image tile below that floats a live product micro-asset.

FREE

hero36

Centered Hero with Logo Cloud

Centered hero with gradient-highlighted heading text and trusted-by logo cloud below CTA buttons. Perfect for B2B SaaS and enterprise products.

PRO

hero50

Centered Hero with Announcement Pill

Clean centered hero with clickable announcement banner pill above the heading with sparkle icon. Perfect for product launches and feature announcements.

PRO

hero120

Editorial Image Hero

Centered editorial hero with eyebrow, large heading, description, dual dark and outline CTAs, and a wide 16:9 image with a mono caption below.

PRO

hero80

Cinematic Hero with Overlapping Media

Centered hero with inset background media and overlapping product image

Markdown version