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.
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.
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
npx shadcn add "https://ui.beste.co/r/hero189?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
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.
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.
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:
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" }]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | – | Small-caps line above the headline |
heading | string | – | Headline, rendered as the page h1 through Text1 |
description | string | – | Paragraph under the headline |
image | { src: string; alt: string } | – | Full-bleed background photograph |
command | string | – | The install command; clicking the pill copies it |
copyLabel | string | – | Accessible name for the pill in its resting state |
copiedLabel | string | – | Accessible name and live-region text once copied |
buttons | ActionButton[] | [] | Pill actions beside the command |
facts | Fact[] | [] | Figures listed as a description list on the right |
className | string | – | Extra classes for the outer <section> |
type Fact = {
value: string;
label: string;
};
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};onLoad handler and an img.complete test for images the browser already had cached.foreground/85 at the base to foreground/25 at the top, which is what keeps the headline legible over an unpredictable photograph.feTurbulence filter at 8 percent opacity in soft light, with its filter id taken from useId so several blocks on one page never collide.background token rather than an adaptive one, because the surface underneath is a picture and not a theme colour.light tone here, which is the pill built for photographic surfaces.hero192
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.
hero193
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.
hero188
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.
hero195
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.
hero191
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.