A call to action between two hairline rules: a serif heading that settles in word by word and an intro on the left, a sliding-marker pill with an avatar cluster, a star row and a proof line on the right.
A closing band ruled top and bottom rather than filled: the heading and its line on one side, and on the other a pill above a row of avatars, a short star rating and a count.
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/cta102?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/cta102?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/cta102.tsx plus the button22 sliding-marker pill and the text1 word stagger it uses.
The installed file exports cta102Demo alongside the block: the exact props behind the preview above. Spread it to get a working call to action in one line.
import { Cta102, cta102Demo } from "@/components/beste/block/cta102";
export default function Page() {
return <Cta102 {...cta102Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Cta102 } from "@/components/beste/block/cta102";
export default function Page() {
return (
<Cta102
heading="Most people wish they had come sooner."
description="You do not need a reason, a diagnosis or a plan. You need twenty free minutes and a phone."
button={{ label: "Take the twenty minutes", href: "/call", tone: "dark" }}
avatars={[{ src: "/people/one.jpg", alt: "Portrait of a client" }]}
rating={5}
proof="4.9 from 140 people this year"
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
heading | string | – | Section heading, rendered as an h2 through Text1 |
description | string | – | Paragraph under the heading |
button | ActionButton | – | Pill action |
avatars | Avatar[] | [] | Overlapping client portraits |
rating | number | – | Rating out of five, drawn as that many filled stars |
proof | string | – | Count printed under the stars |
className | string | – | Extra classes for the outer <section> |
type Avatar = {
src: string;
alt: string;
};
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};border-y on the inner grid instead of a filled panel, so it reads as a rule across the page and sits comfortably between two sections that already use surfaces.rating is rounded and clamped into 0 to 5 before drawing, so an out-of-range value cannot produce a wall of stars or a negative count.size-3.5 and sit directly above the proof line rather than beside it, which keeps them subordinate to the sentence instead of competing with the heading for attention.shrink-0, so a long proof line wraps rather than compressing the portraits.