Two Steps Hero

Two steps, no setup screen

Installonce.Askforever.

Your coding agent learns where the finished sections live, then builds pages from them instead of from scratch.

01 Run this in your project

Adds the MCP server to Claude Code, Cursor or Codex.

02 Then ask for a page

Build a pricing page with three plans and a yearly toggle.

The agent picks a finished section, drops it in and matches your theme.

About this block

Two Steps HeroPRO

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.

Hero191: Two Steps Hero

An install hero that explains itself in two numbered steps under a rule: run the command on the left, and see the sentence you would type next on the right.

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

Base UI flavor

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

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

Quick start

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

tsx
import { Hero191, hero191Demo } from "@/components/beste/block/hero191";

export default function Page() {
  return <Hero191 {...hero191Demo} />;
}

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

tsx
import { Hero191 } from "@/components/beste/block/hero191";

export default function Page() {
  return (
    <Hero191
      eyebrow="Two steps, no setup screen"
      heading="Install once. Ask forever."
      description="Your agent learns where the finished sections live, then builds from them."
      install={{
        number: "01",
        title: "Run this in your project",
        command: "npx your-cli@latest",
        copyLabel: "Copy command",
        copiedLabel: "Copied",
        note: "Adds the MCP server to your agent.",
      }}
      ask={{ number: "02", title: "Then ask for a page", prompt: "Build a pricing page with three plans." }}
      buttons={[{ label: "See what it builds", href: "/blocks" }]}
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstringSmall-caps line above the headline
headingstringHeadline, rendered as the page h1 through Text1
descriptionstringParagraph under the headline
installInstallThe first step, whose pill copies the command
askAskThe second step, shown as an example prompt
buttonsActionButton[][]Pill actions centred below both steps
classNamestringExtra classes for the outer <section>
ts
type Install = {
  number: string;
  title: string;
  command: string;
  copyLabel: string;
  copiedLabel: string;
  note?: string;
};

type Ask = {
  number: string;
  title: string;
  prompt: string;
  note?: string;
};

type ActionButton = {
  label: string;
  href: string;
  tone?: "primary" | "light" | "dark" | "outline";
};

Behavior notes

  • The two steps are deliberately asymmetric: the first is an action with a copy target, the second is only an illustration, so the prompt sits in a muted panel that reads as an example rather than a field.
  • Both step numbers are rendered in the same small-caps line as their title, which keeps the pair reading as one label instead of a number stacked over a heading.
  • The steps sit under a single rule spanning the full container, so on a phone they stack into one continuous list rather than two boxed cards.
  • The command pill fills its column and truncates the command rather than wrapping it, so a long package name never breaks the pill's shape.
  • Copying flips both the icon and a visually hidden live region, and resets after two seconds through a cleared timeout.
  • The headline runs with trigger="mount" and everything after it is offset from the word count, so the steps arrive after the last word lands.
  • Either step can be omitted, in which case the remaining one takes the full width of the grid.

More Hero blocks

View all Hero
PRO

hero195

Three Screens Hero

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.

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

hero192

Half Photo Command Hero

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.

PRO

hero194

Turning Request Hero

A centred install hero whose serif headline ends in a word that keeps changing (a pricing page, a hero, a footer), so the promise reads as a list of things the agent can be asked for. Below it an ink command pill that copies the install command on click sits beside a sliding-marker outline pill, then a quiet note.

PRO

hero177

Two Tempos Hero

A hero with a serif headline settling in word by word, an intro and a sliding-marker pill on the left, and two offset portrait photographs on the right that drift at different speeds as the page scrolls, one sitting a step lower than the other.

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.