Full-bleed hero filled with side-by-side image panels that expand on hover and auto-cycle, each revealing a name and caption while a giant heading floats above.
Full-bleed hero built entirely out of side-by-side image panels: hovering or focusing a panel expands it and reveals its name and caption while the others compress, with a giant heading floating above the whole strip on a pointer-events-none layer.
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/hero132?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/hero132?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/hero132.tsx and its dependencies.
The installed file exports hero132Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.
import { Hero132, hero132Demo } from "@/components/beste/block/hero132";
export default function Page() {
return <Hero132 {...hero132Demo} />;
}Then replace the demo with your own props. Written out, the same setup looks like this:
import { Hero132 } from "@/components/beste/block/hero132";
export default function Page() {
return (
<Hero132
heading="Rooms made of light."
items={[
{
image: {
src: "https://images.unsplash.com/photo-1529809540960-3b92284fff20?w=1200&h=1400&fit=crop",
alt: "Empty office bathed in soft window light",
},
name: "The quiet floor",
caption: "Workspace study, Auralis interiors",
href: "/work/quiet-floor",
},
{
image: {
src: "https://images.unsplash.com/photo-1669250937307-b08a1118b216?w=1200&h=1400&fit=crop",
alt: "Concrete stairwell with a single shaft of light",
},
name: "Stair, descending",
caption: "Form held against shadow",
href: "/work/stair",
},
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
heading | string | – | Giant heading floated above the panels |
items | PanelItem[] | [] | Panels laid out edge to edge, each expandable |
className | string | – | Extra classes for the outer <section> |
type PanelItem = {
image: PanelImage;
name: string;
caption: string;
href: string;
};
type PanelImage = { src: string; alt: string };flex-grow ratio changes on interaction: the active panel gets flex-[2.5] and the rest flex-[1], animated with a 700ms ease-out transition on flex-grow for an accordion-style expand, not a crossfade.onMouseEnter and onFocus set a panel active, so keyboard tab order expands panels too, unlike a pure hover-only implementation.setInterval, independent of hover or focus.opacity-0 and their image dimmed to opacity-70.pointer-events-none wrapper stacked above the panels, so clicks pass straight through it to the panel links beneath.hero119
Full-bleed image hero with an oversized three-word display heading, a row of monospace meta labels, a bold sub-headline, and a featured card with thumbnail, category, paginated index, and title.
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.
hero140
Full-bleed monochrome hero with a giant heading and a row of clickable tab chips that fade between text panels (title, description, stat), auto-advancing on a timer with no background swap.
hero141
Full-bleed monochrome hero with a giant display heading, short description, and a continuous bottom marquee of capability chips that pauses on hover.
hero136
Full-bleed hero whose background crossfades to the active item, with an auto-scrolling marquee of clickable thumbnails along the bottom and a giant heading above the strip.
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.