Command on Photo Hero

A turquoise bay ringed by pines and limestone

Sections for coding agents

Onecommand,everyscreen.

Run it once in your project. From then on your agent can reach every hero, pricing table and footer you will ever need, already written and kept calm.

Finished sections
1,500
Native to your agent
MCP
From install to first page
2 min
About this block

Command on Photo HeroPRO

A full-height photographic install hero: the photo blurs in and drifts slower than the page under a scrim and film grain, a serif headline settles in word by word, then a frosted command pill that copies the install command on click, two sliding-marker pills and a short column of figures.

Hero189: Command on Photo Hero

A full-height photographic hero where the command sits in a frosted pill over the picture: the photo clears from a blur and drifts slower than the page behind film grain, while a column of figures anchors the right edge.

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

Base UI flavor

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

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

Quick start

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

tsx
import { Hero189, hero189Demo } from "@/components/beste/block/hero189";

export default function Page() {
  return <Hero189 {...hero189Demo} />;
}

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

tsx
import { Hero189 } from "@/components/beste/block/hero189";

export default function Page() {
  return (
    <Hero189
      eyebrow="Sections for coding agents"
      heading="One command, every screen."
      description="Run it once in your project and every page you will need is already written."
      image={{ src: "/photos/cove.jpg", alt: "A turquoise bay ringed by pines and limestone" }}
      command="npx your-cli@latest"
      copyLabel="Copy command"
      copiedLabel="Copied"
      buttons={[{ label: "See what it builds", href: "/blocks", tone: "light" }]}
      facts={[{ value: "1,500", label: "Finished sections" }]}
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstringSmall-caps line above the headline
headingstringHeadline, rendered as the page h1 through Text1
descriptionstringParagraph under the headline
image{ src: string; alt: string }Full-bleed background photograph
commandstringThe install command; clicking the pill copies it
copyLabelstringAccessible name for the pill in its resting state
copiedLabelstringAccessible name and live-region text once copied
buttonsActionButton[][]Pill actions beside the command
factsFact[][]Figures listed as a description list on the right
classNamestringExtra classes for the outer <section>
ts
type Fact = {
  value: string;
  label: string;
};

type ActionButton = {
  label: string;
  href: string;
  tone?: "primary" | "light" | "dark" | "outline";
};

Behavior notes

  • The photograph only fades up once its file has loaded, checked through both an onLoad handler and an img.complete test for images the browser already had cached.
  • The picture drifts to 28 percent of the scroll while the content moves 12 percent and fades out by 70 percent, so the text clears the frame before the photo does.
  • A gradient scrim runs from foreground/85 at the base to foreground/25 at the top, which is what keeps the headline legible over an unpredictable photograph.
  • Grain is an inline feTurbulence filter at 8 percent opacity in soft light, with its filter id taken from useId so several blocks on one page never collide.
  • Text on the photo uses the fixed background token rather than an adaptive one, because the surface underneath is a picture and not a theme colour.
  • The command pill is frosted rather than solid, so the photograph stays readable through it while the mono text keeps its contrast.
  • Buttons default to the light tone here, which is the pill built for photographic surfaces.

More Hero blocks

View all Hero
PRO

hero192

Half Photo Command Hero

A full-height split install hero: text on the left with an eyebrow, a serif headline that settles in word by word, an intro, a rounded command pill that copies the install command on click and two sliding-marker pills; on the right an edge-to-edge photograph that blurs in and drifts on scroll with a small caption.

PRO

hero193

Ink Command Hero

A dark install hero with film grain and no photograph, where the install command itself is the centrepiece: set large in monospace with a hairline underline, it copies on click and confirms with a tick. A short serif headline above, an intro, two sliding-marker pills and a ruled row of three figures below.

PRO

hero188

Single Command Hero

The most minimal install hero: a serif headline that settles in word by word, then one rounded command pill that copies the install command on click and confirms with a tick, and a quiet note with a docs link. No image, no buttons.

PRO

hero195

Three Screens Hero

A centred install hero with a serif headline that settles in word by word, an intro, a rounded command pill that copies the install command on click beside a sliding-marker pill, and under it three portrait page previews that blur in as they load and rise at different speeds on scroll, the middle one sitting higher, each with a small caption.

PRO

hero191

Two Steps Hero

A centred install hero that explains itself in two numbered steps under a ruled line: run the command, copied from a rounded pill on click, then ask for a page, shown as an example prompt in a muted mono panel. Serif headline settles in word by word, one sliding-marker pill below.

PRO

hero182

Centred Photo Hero

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.