Concrete, timber, one long table
Studio, Rotterdam
Single-frame image reel that slides on a transform, driven by round arrow buttons in the header and a row of bar indicators beside the caption, with no hover behaviour on the image itself.
A single wide plate that slides one frame at a time, with the step controls up in the header and the caption, place and progress dashes on the row underneath.
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/gallery4?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/gallery4?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/gallery4.tsx plus the badge7 eyebrow it uses.
The installed file exports gallery4Demo alongside the block: the exact props behind the preview above. Spread it to get a working reel in one line.
import { Gallery4, gallery4Demo } from "@/components/beste/block/gallery4";
export default function Page() {
return <Gallery4 {...gallery4Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Gallery4 } from "@/components/beste/block/gallery4";
export default function Page() {
return (
<Gallery4
badge={{ label: "Reel" }}
heading="One frame at a time, in the order we shot them."
slides={[
{
src: "/reel/studio.jpg",
alt: "Studio interior with a long shared worktable",
title: "Concrete, timber, one long table",
meta: "Studio, Rotterdam",
},
{
src: "/reel/specimens.jpg",
alt: "Specimen sheets laid out on a table",
title: "Specimen sheets, laid flat",
meta: "Studio table, morning light",
},
]}
labels={{ previousLabel: "Previous slide", nextLabel: "Next slide" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string } | – | Eyebrow label rendered as a Badge7 |
heading | string | – | Section heading in the header row |
slides | Slide[] | [] | Frames in the reel, in order |
labels | Gallery4Labels | {} | Fixed strings that are not content: the two step controls |
className | string | – | Extra classes for the outer <section> |
type Slide = {
src: string;
alt: string;
title: string;
meta: string;
};
type Gallery4Labels = {
previousLabel?: string;
nextLabel?: string;
};activeIndex * 100% inside an overflow-hidden frame, so there is no scroll position to fight and no scrollbar to hide.button elements with aria-pressed and an aria-label carrying the slide title, so they are a control rather than a decorative row of dashes.aspect-[16/10] becoming md:aspect-[2/1]), keeping the reel cinematic on desktop without a letterbox strip on a phone.md:grid-cols-[1fr_auto] md:items-end, so the title stays left and the dashes sit at the right on the same baseline.