The archive runs in both directions because we could never agree on where it should start.
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.