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.
A dark hero with no photograph, where the command itself is the largest thing on the page: set in monospace under a hairline, it copies on click and confirms with a tick.
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/hero193?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero193?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero193.tsx plus the button22 sliding-marker pill and the text1 word stagger it uses.
The installed file exports hero193Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero193, hero193Demo } from "@/components/beste/block/hero193";
export default function Page() {
return <Hero193 {...hero193Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Hero193 } from "@/components/beste/block/hero193";
export default function Page() {
return (
<Hero193
eyebrow="Sections for coding agents"
heading="Everything starts here."
command="npx your-cli@latest"
copyLabel="Copy command"
copiedLabel="Copied"
description="Paste it into your project and your agent gets every page you will need."
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 | – | Short headline over the command, through Text1 |
command | string | – | The install command, set as the centrepiece; clicking it copies |
copyLabel | string | – | Accessible name for the command in its resting state |
copiedLabel | string | – | Accessible name and live-region text once copied |
description | string | – | Paragraph under the command |
buttons | ActionButton[] | [] | Pill actions under the paragraph |
facts | Fact[] | [] | Figures listed as a description list at the foot |
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";
};feTurbulence filter at 8 percent in soft light, with its id from useId so several grained blocks on one page never collide.background tokens rather than adaptive ones, because the panel is painted ink in both themes.light tone, the pill built to sit on a dark surface.