A centered hero closing on an edge-to-edge filmstrip of five frames divided by hairlines, one of which floats a live view switcher instead of a photograph.
A centered hero closing on an edge-to-edge filmstrip of five frames divided by hairlines, one of which floats a live view switcher instead of a photograph.
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/hero165?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero165?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero165.tsx, the toolbar21 view-switcher piece it floats on one frame (installed to components/beste/piece/toolbar21.tsx), and the badge23 and button21 components it uses for the eyebrow and the actions.
The installed file exports hero165Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero165, hero165Demo } from "@/components/beste/block/hero165";
export default function Page() {
return <Hero165 {...hero165Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { CalendarDays, List, Rows3 } from "lucide-react";
import { Hero165 } from "@/components/beste/block/hero165";
import { Toolbar21 } from "@/components/beste/piece/toolbar21";
export default function Page() {
return (
<Hero165
badge={{ label: "Four sites, one week" }}
heading="Run every clinic from the same screen"
description="Four practices, thirteen rooms, and one waiting list in a single view that anyone on the rota can read."
buttons={[
{ label: "Book a demo", href: "/demo" },
{ label: "See pricing", href: "/pricing", tone: "outline" },
]}
frames={[
{ src: "/clinic/reception.jpg", alt: "A clinician in a bright clinic" },
{ src: "/clinic/team.jpg", alt: "A small team around a laptop" },
{ src: "/clinic/desk.jpg", alt: "A tidy reception desk" },
]}
mediaIndex={1}
media={
<Toolbar21
segments={[
{ icon: List, label: "List" },
{ icon: CalendarDays, label: "Week" },
{ icon: Rows3, label: "Rooms" },
]}
activeIndex={1}
count="142 appointments"
filterLabel="All sites"
/>
}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string } | – | Centered eyebrow above the heading, rendered through Badge23 |
heading | string | – | Display heading, rendered as the page h1 |
description | string | – | Centered supporting paragraph, capped at max-w-xl |
buttons | ActionLink[] | [] | Centered actions in source order |
frames | Frame[] | [] | Filmstrip photographs, laid out two-up then five-up |
mediaIndex | number | 0 | Which frame carries the live asset instead of showing bare |
media | ReactNode | – | Live asset layered on the chosen frame |
className | string | – | Extra classes for the outer section |
type ButtonTone = "primary" | "neutral" | "outline";
type ActionLink = {
label: string;
href: string;
tone?: ButtonTone;
};
type Frame = {
src: string;
alt: string;
};gap-px over bg-border lets the section background show through as one-pixel seams, so the rules stay perfectly even and never double up at the joins.mediaIndex picks the frame that carries the asset and defaults to 0. Pointing it past the end of frames renders the strip with no asset at all rather than erroring.frames.length is odd, and drops back to a single column from md.max-w-7xl container so it runs edge to edge, which is why the section carries pt-16 only. The strip itself closes the block.h-44, then md:h-60) rather than aspect-ratio driven, so mixed portrait and landscape sources still line up along the strip.tone is honored when set, otherwise the first button renders primary and every later one renders outline.hero131
Full-bleed hero whose background crossfades between frames, with a clickable filmstrip of thumbnails pinned along the bottom and an auto-advancing active tile.
hero113
Centered big-type studio hero with start and watch-the-film actions over a cinematic banner.
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.
hero80
Centered hero with inset background media and overlapping product image