Centred Photo Hero

A rocky cove with wildflowers above turquoise water

Altair, Lisbon

Comeasyouare.Stayaslongasittakes.

Therapy and coaching for the seasons when the usual things stop working. In the room or online, at your pace.

About this block

Centred Photo HeroPRO

A full-height photographic hero with everything centred: the photograph zooms out on load and drifts slower than the page under a dark scrim and film grain, beneath an eyebrow, a serif headline that settles in word by word, an intro and two sliding-marker pills.

Hero182: Centred Photo Hero

A full-screen centred hero: the photograph clears from a blur and drifts under an ink wash and film grain, with the headline settling in word by word above an intro and a pair of pale pills.

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

Base UI flavor

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

This installs the block to components/beste/block/hero182.tsx plus the button22 sliding-marker pill and the text1 word stagger it uses.

Quick start

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

tsx
import { Hero182, hero182Demo } from "@/components/beste/block/hero182";

export default function Page() {
  return <Hero182 {...hero182Demo} />;
}

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

tsx
import { Hero182 } from "@/components/beste/block/hero182";

export default function Page() {
  return (
    <Hero182
      eyebrow="Altair, Lisbon"
      heading="Come as you are. Stay as long as it takes."
      description="Therapy and coaching for the seasons when the usual things stop working."
      buttons={[
        { label: "Begin here", href: "/book", tone: "light" },
        { label: "Meet the practitioners", href: "/team", tone: "outline" },
      ]}
      image={{ src: "/photos/hills.jpg", alt: "Soft fog rolling over layered green hills" }}
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstringSmall-caps line above the headline
headingstringHeadline, rendered as the page h1 through Text1
descriptionstringParagraph under the headline
buttonsActionButton[][]Pill actions; each defaults to the light tone on this dark hero
image{ src: string; alt: string }Full-bleed background photograph
classNamestringExtra classes for the outer <section>
ts
type ActionButton = {
  label: string;
  href: string;
  tone?: "primary" | "light" | "dark" | "outline";
};

Behavior notes

  • The content is centred on both axes inside a min-h-svh section, so the hero holds its composition at any viewport height rather than being pinned to the top.
  • Buttons fall back to the light tone rather than primary, which is right here: the hero is dark, so an unspecified button should come out pale instead of taking the brand colour.
  • The photograph clears from a 1.12 scale and blur(24px) on decode, with a complete check on mount because a cached image fires its load event before hydration and would otherwise stay blurred.
  • It drifts 26% against the page as it scrolls away, so the section keeps moving even though the copy inside it does not.
  • The wash is a flat foreground/55 rather than a gradient, because the copy is centred rather than sitting at the foot and needs even contrast across the whole frame.
  • The grain filter takes its id from useId, so two grain surfaces on one page cannot collide on a global SVG id.
  • The headline runs with trigger="mount", and the copy waits on 0.4 + heading.split(" ").length * 0.07 so it lands as the last word settles.

More Hero blocks

View all Hero
PRO

hero176

Unveiling Hero

A centred hero: eyebrow, a serif headline settling in word by word, intro and two sliding-marker pills, then a wide photograph that unveils itself from a smaller inset frame and keeps drifting as the page scrolls, closed by a row of dotted facts.

PRO

hero187

Search Hero

A centred photographic hero built around a search field: the photograph blurs in and drifts slower than the page under a dark scrim and film grain, a serif headline settles in word by word, then a rounded search field with a keyboard shortcut hint, a row of quick links and optional pills. The field can hand its click to a command palette instead of being a form.

PRO

hero159

Photo Collage Hero

A centered hero with an eyebrow, light display heading, and two actions above a staggered three-photo collage whose raised middle tile floats a live booking confirmation.

PRO

hero185

Logos Hero

A centred hero with an eyebrow, a serif headline that settles in word by word, an intro and a sliding-marker pill, closed by a ruled row where greyscale partner logos drift right to left behind soft edge fades, next to a small-caps label.

PRO

hero186

Half Photo Hero

A full-height hero split down the middle: eyebrow, a serif headline that settles in word by word, an intro, two sliding-marker pills on the left, and a photograph filling the right half edge to edge that zooms out on load and drifts slower than the page.

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.