A hero pairing a light display heading with an offset paragraph and action, then a wide image tile floating a live search results panel over four hairline columns explaining what the search covers.
A hero pairing a light display heading with an offset paragraph and action, then a wide image tile floating a live search results panel over four hairline columns explaining what the search covers.
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/hero168?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero168?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero168.tsx, the search24 results piece it floats on the tile (installed to components/beste/piece/search24.tsx), and the badge23 and button21 components it uses for the eyebrow and the action.
The installed file exports hero168Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero168, hero168Demo } from "@/components/beste/block/hero168";
export default function Page() {
return <Hero168 {...hero168Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Hero168 } from "@/components/beste/block/hero168";
import { Search24 } from "@/components/beste/piece/search24";
export default function Page() {
return (
<Hero168
badge={{ label: "One keystroke" }}
heading="Stop asking which system it was filed in"
description="Members, appointments, documents, and invoices are searched at once, and answered while you are still typing the surname."
button={{ label: "Try it on your data", href: "/search" }}
media={
<Search24
query="rowan"
groupLabel="Members"
results={[
{ title: "Rowan Blake", meta: "Active · Clinic 2", kind: "Member" },
{ title: "Invoice #4821", meta: "Rowan Blake · Paid", kind: "Billing" },
]}
footer="2 of 11 matches shown"
/>
}
image={{ src: "/backdrops/green.jpg", alt: "Deep green gradient backdrop" }}
reach={[
{ title: "Members", description: "Names, aliases, and every reference number you have used." },
{ title: "Documents", description: "Notes, letters, and uploads, searched by their contents." },
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string } | – | Eyebrow above the heading, rendered through Badge23 |
heading | string | – | Display heading, rendered as the page h1 |
description | string | – | Offset paragraph in the right column |
button | { label: string; href: string } | – | Single action under the paragraph |
media | ReactNode | – | Live asset on the tile, search24 in the demo |
image | { src: string; alt: string } | – | Backdrop behind the media tile |
reach | Reach[] | [] | Hairline columns naming what the search covers |
className | string | – | Extra classes for the outer section |
type ActionLink = {
label: string;
href: string;
};
type TileImage = {
src: string;
alt: string;
};
type Reach = {
title: string;
description: string;
};md:items-end, so the paragraph and action align to the heading's baseline rather than the top of the row, with md:pb-2 compensating for the heading's line height.flex flex-col items-start, so Button21 keeps its intrinsic width instead of stretching to the column.border-t, so the row of rules is built per item. Passing three items gives three rules, and the grid reflows to sm:grid-cols-2 and lg:grid-cols-4 without the rules ever spanning a gap.h2, keeping the section a real outline under the h1 rather than a set of styled paragraphs.h-80, then md:h-96) with the image absolutely positioned behind it and the piece layered at z-10, so the search panel reads as floating over the photograph rather than sitting beside it.hero162
A hero that sets a light display heading and one action against a column of numbered hairline rows, then closes on a full-bleed image band with a live approval request pinned into its corner.
hero158
A hero that opens on an oversized light heading, then drops a hairline into a narrow copy column with one action and a wide image tile floating a live horizontal step tracker.
hero137
Full-bleed monochrome hero that crossfades across a set of slides, navigated by explicit previous/next arrows and clickable dots with an auto-loop, plus a caption linking the active slide.
hero159
A centered hero with an eyebrow, light display heading, and two actions above a staggered three-photo collage whose raised middle tile floats a live booking confirmation.