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.
The smallest install hero in the set: a headline that settles in word by word, one rounded pill holding the command, and a single line of reassurance underneath.
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/hero188?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero188?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero188.tsx plus the text1 word stagger it uses.
The installed file exports hero188Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero188, hero188Demo } from "@/components/beste/block/hero188";
export default function Page() {
return <Hero188 {...hero188Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Hero188 } from "@/components/beste/block/hero188";
export default function Page() {
return (
<Hero188
heading="Give your agent every screen."
command="npx your-cli@latest"
copyLabel="Copy command"
copiedLabel="Copied"
note="Works with Claude Code, Cursor and Codex."
link={{ label: "Read the docs", href: "/docs" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
heading | string | – | Headline, rendered as the page h1 through Text1 |
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 |
note | string | – | Quiet line under the pill |
link | { label: string; href: string } | – | Optional link that follows the note on the same line |
className | string | – | Extra classes for the outer <section> |
type Link = {
label: string;
href: string;
};navigator.clipboard is called optionally, so a browser that blocks it still flips the label rather than throwing.setTimeout, so leaving the page mid-flight never leaves a stray timer behind.aria-live region announces the copied label, while the icon swap from copy to tick carries the same message for sighted readers.trigger="mount", since a hero is above the fold and a scroll-triggered stagger would never fire.0.4 + heading.split(" ").length * 0.07, so they arrive after the last word however long the headline runs.