Two full-bleed image tracks scrolling in opposite directions under a centered statement, pausing together on hover, where any frame opens a framed viewer: the picture sits in a mount on a scrim with its caption, position and controls beneath it.
Two bands of photographs drifting in opposite directions behind a centred heading, fading out at both edges. Hovering pauses the drift; opening a frame brings up a framed viewer on a mount rather than a full-screen overlay.
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/gallery7?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/gallery7?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/gallery7.tsx plus the badge7 eyebrow it uses.
The installed file exports gallery7Demo alongside the block: the exact props behind the preview above. Spread it to get a working gallery in one line.
import { Gallery7, gallery7Demo } from "@/components/beste/block/gallery7";
export default function Page() {
return <Gallery7 {...gallery7Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Gallery7 } from "@/components/beste/block/gallery7";
export default function Page() {
return (
<Gallery7
badge={{ label: "Rolling archive" }}
heading="Nine years of frames, still moving."
description="The archive runs in both directions."
topRow={[
{ src: "/archive/table.jpg", alt: "Long table mid-review", caption: "The long table", meta: "Rotterdam, March" },
{ src: "/archive/facade.jpg", alt: "Facade under a flat sky", caption: "Facade", meta: "Rotterdam, April" },
]}
bottomRow={[
{ src: "/archive/stair.jpg", alt: "Stairwell at midday", caption: "Stairwell", meta: "Rotterdam, April" },
{ src: "/archive/prints.jpg", alt: "Prints on a wall", caption: "Prints on the wall", meta: "Studio, January" },
]}
labels={{
openLabel: "Open this frame",
closeLabel: "Close the frame",
previousLabel: "Previous frame",
nextLabel: "Next frame",
counterSeparator: "of",
}}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string } | – | Eyebrow label rendered as a Badge7 |
heading | string | – | Centred section heading |
description | string | – | Centred paragraph under the heading |
topRow | MarqueeImage[] | [] | Frames in the band drifting left |
bottomRow | MarqueeImage[] | [] | Frames in the band drifting right |
labels | Gallery7Labels | {} | Fixed strings that are not content: viewer controls and the counter separator |
lightbox | boolean | true | Render the built-in viewer; set false to leave the frames static |
className | string | – | Extra classes for the outer <section> |
type MarqueeImage = {
src: string;
alt: string;
caption: string;
meta: string;
};
type Gallery7Labels = {
openLabel?: string;
closeLabel?: string;
previousLabel?: string;
nextLabel?: string;
counterSeparator?: string;
};group/gallery7) and [animation-play-state:paused], so a frame can be read before it is clicked.max-w-4xl card on bg-background over a bg-foreground/80 scrim, with the caption and controls on the mount itself.pointer-events-none so they never swallow a click on the frame underneath.lightbox={false} disables every frame button and switches the cursor back to default, leaving the bands as a moving wall.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.
gallery2
Captioned image grid where any tile opens a full-screen lightbox on a dark scrim, with a frame counter, keyboard arrows, escape to close and previous and next controls beside the caption.
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.
gallery20
Works hung two to a bay on staggered ruled cards, opening a viewer that can hold a second work beside the first: the frame splits, both pictures keep their own caption and the pair can be walked together.