The smallest call to action in the set: one line of heading on the left and a single pill button on the right, held between two hairlines that draw across as the strip enters the viewport; on small screens the button drops under the line.
The smallest call to action in the set: one line of heading on the left and a single pill button on the right, held between two hairlines that draw across as the strip enters the viewport. There is no eyebrow and no paragraph, so it sits quietly between larger sections; on small screens the button drops under the line.
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://beste.dev/r/realestate60?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://beste.dev/r-base/realestate60?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/realestate60.tsx together with the button25 pill component and the shadcn/ui button primitive behind it.
The installed file exports realestate60Demo alongside the block: the exact props behind the preview above. Spread it to get a working section in one line.
import { Realestate60, realestate60Demo } from "@/components/beste/block/realestate60";
export default function Page() {
return <Realestate60 {...realestate60Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Realestate60 } from "@/components/beste/block/realestate60";
import { ArrowRight } from "lucide-react";
export default function Page() {
return (
<Realestate60
heading="The sales suite is open today until 6. Come and see the show apartment."
button={{ label: "Book a viewing", href: "/viewing", icon: ArrowRight }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
heading | string | – | The one line of text on the left. |
button | ActionButton | – | The single pill button on the right. |
className | string | – | Extra classes merged onto the section. |
type ActionButton = {
label: string;
href: string;
tone?: "dark" | "outline" | "primary" | "neutral";
icon?: LucideIcon;
};py-12 to py-16) because the strip is meant to sit between larger sections rather than be one.max-w-3xl so a long line wraps on the left while the button keeps its place on the right; the button never shrinks.prefers-reduced-motion both hairlines, the heading and the button render in their final state.