Empty room, one window
Rotterdam, March
1 of 6
Cinematic stage frame with the caption and frame counter set on a gradient at its foot, round arrow controls on the picture itself, and a scrolling filmstrip below where the inactive thumbnails sit back at low opacity.
One picture held at stage size with its caption and counter on a scrim, arrows inside the frame, and a filmstrip of every other frame underneath. The stage is the viewer, so nothing ever covers the page.
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/gallery5?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/gallery5?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/gallery5.tsx plus the badge7 eyebrow it uses.
The installed file exports gallery5Demo alongside the block: the exact props behind the preview above. Spread it to get a working gallery in one line.
import { Gallery5, gallery5Demo } from "@/components/beste/block/gallery5";
export default function Page() {
return <Gallery5 {...gallery5Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Gallery5 } from "@/components/beste/block/gallery5";
export default function Page() {
return (
<Gallery5
badge={{ label: "Frame by frame" }}
heading="One picture at a time, as big as the page allows."
items={[
{
src: "/frames/room.jpg",
alt: "Empty room lit by a tall window",
caption: "Empty room, one window",
meta: "Rotterdam, March",
},
{
src: "/frames/ceiling.jpg",
alt: "Vaulted ceiling with repeating ribs",
caption: "Ribs, seen from below",
meta: "Rotterdam, March",
},
]}
labels={{ previousLabel: "Previous frame", nextLabel: "Next frame", counterSeparator: "of" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string } | – | Eyebrow label rendered as a Badge7 |
heading | string | – | Section heading above the stage |
items | StageImage[] | [] | Frames, first one shown on mount |
labels | Gallery5Labels | {} | Fixed strings that are not content: the step controls and the counter separator |
className | string | – | Extra classes for the outer <section> |
type StageImage = {
src: string;
alt: string;
caption: string;
meta: string;
};
type Gallery5Labels = {
previousLabel?: string;
nextLabel?: string;
counterSeparator?: string;
};grow basis-28 (and md:basis-40), which is what makes a short set stretch to fill the row instead of leaving a gap at the end, while a long set wraps onto a second line.opacity-40, marking the position without a border or a colour.button with aria-pressed and an aria-label carrying its caption, so the strip is navigable rather than decorative.aspect-[4/3] becoming md:aspect-[21/9]), so it stays cinematic on desktop without going letterbox-thin on a phone.