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.gallery5
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.
gallery9
Justified rows of frames that grow to fill every line, opening a viewer whose picture doubles as the zoom control: clicking switches between fitting the screen and filling it, with the caption and controls on one closing rule.
gallery11
Edge-to-edge strip of tall frames opening a viewer where the picture fills the screen and the caption, note and thumbnails sit in a sheet that slides off the bottom when you want the frame uncovered.
gallery10
Square grid whose viewer holds two states: a single frame with caption and controls, or an in-place overview of the whole set that you can jump from without closing the layer.