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.
An install hero that shows its output: under the command sit three page previews that rise at different speeds as the page scrolls, the middle one held higher than its neighbours.
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/hero195?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero195?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero195.tsx plus the button22 sliding-marker pill and the text1 word stagger it uses.
The installed file exports hero195Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero195, hero195Demo } from "@/components/beste/block/hero195";
export default function Page() {
return <Hero195 {...hero195Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Hero195 } from "@/components/beste/block/hero195";
export default function Page() {
return (
<Hero195
eyebrow="Finished pages, on request"
heading="Hand your agent the whole site."
description="One command, then every page below and hundreds more."
command="npx your-cli@latest"
copyLabel="Copy command"
copiedLabel="Copied"
buttons={[{ label: "See what it builds", href: "/blocks" }]}
screens={[
{ src: "/photos/one.jpg", alt: "A rocky cove with wildflowers above turquoise water", label: "Landing page" },
{ src: "/photos/two.jpg", alt: "A long sandy beach with a boat on the horizon", label: "Pricing" },
{ src: "/photos/three.jpg", alt: "Two wooden boats moored off a white sand beach", label: "About" },
]}
/>
);
}| 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 |
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 |
screens | Screen[] | [] | Page previews under the header, in order |
className | string | – | Extra classes for the outer <section> |
type Screen = {
src: string;
alt: string;
label: string;
};
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};aspect-[4/5] with the picture scaled to 116 percent, enough headroom that the parallax never exposes an edge.