Half Photo Command Hero

For teams that ship with agents

Thepageisalreadywritten.

Point your agent at a library of finished sections and it stops guessing at layouts. One command, then every screen a product needs.

A small rocky bay below a wooded hillside

Built with your theme, in your repository.

About this block

Half Photo Command HeroPRO

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.

Hero192: Half Photo Command Hero

A full-height split: the command and its case on the left, an edge-to-edge photograph on the right that clears from a blur and drifts as the page moves.

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

Base UI flavor

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

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

Quick start

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

tsx
import { Hero192, hero192Demo } from "@/components/beste/block/hero192";

export default function Page() {
  return <Hero192 {...hero192Demo} />;
}

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

tsx
import { Hero192 } from "@/components/beste/block/hero192";

export default function Page() {
  return (
    <Hero192
      eyebrow="For teams that ship with agents"
      heading="The page is already written."
      description="Point your agent at a library of finished sections and it stops guessing at layouts."
      command="npx your-cli@latest"
      copyLabel="Copy command"
      copiedLabel="Copied"
      buttons={[{ label: "See what it builds", href: "/blocks" }]}
      image={{ src: "/photos/bay.jpg", alt: "A small rocky bay below a wooded hillside" }}
      caption="Built with your theme, in your repository."
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstringSmall-caps line above the headline
headingstringHeadline, rendered as the page h1 through Text1
descriptionstringParagraph under the headline
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 under the command
image{ src: string; alt: string }Photograph filling the right half
captionstringLine laid over the foot of the photograph
classNamestringExtra classes for the outer <section>
ts
type ActionButton = {
  label: string;
  href: string;
  tone?: "primary" | "light" | "dark" | "outline";
};

Behavior notes

  • The split only exists from the medium breakpoint up. Below it the photograph becomes a 4:5 panel above the text, which keeps the picture from being cropped to a strip on a phone.
  • The photograph is scaled to 120 percent inside its frame so the parallax travel from minus 8 to 8 percent never exposes an edge.
  • It fades up only once the file has loaded, checked with an onLoad handler and an img.complete test for cached images.
  • The text column is padded rather than constrained by a max width, so the two halves meet at the exact centre of the viewport at every size.
  • The caption sits directly on the picture in the fixed background token, since the surface underneath is a photograph and not a theme colour.
  • The command pill is outlined rather than filled, which keeps the filled pill below it as the single strongest action in the section.
  • There is no scrim here because the caption is short and sits over the darkest part of the frame. Pass a darker photograph or drop the caption if yours is bright.

More Hero blocks

View all Hero
PRO

hero189

Command on Photo Hero

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.

PRO

hero190

Terminal Split Hero

A split install hero: on the left an eyebrow, a serif headline that settles in word by word, an intro and two sliding-marker pills; on the right an ink terminal card that drifts on scroll, prints the install command and its output line by line, ends on a blinking cursor and copies the command from its title bar.

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

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

hero156

Split Screen Panel Hero

Edge-to-edge split hero: a dark half carries the statement, paragraph, outline pill CTA and a ruled detail row, while the other half is a full-height photograph with a pill caption in its corner.

PRO

hero175

Split Portrait Hero

A light split hero: eyebrow, a serif headline settling in word by word, intro, a sliding-marker pill and a text link on the left, and a portrait photograph drifting inside its frame on the right with a frosted avatar proof card overlapping its corner, under a slowly drifting soft light.