An even three-column grid of photographic plates that open into an ink lightbox: every frame keeps the same ratio so the captions line up, arrows and keys turn the page, either half of the plate is clickable, and a plate that belongs to a page offers it as a link.
An even three-column grid of photographic plates that open into an ink lightbox.
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/gallery29?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/gallery29?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/gallery29.tsx plus the button22 sliding-marker pill and the text1 word stagger it uses.
The installed file exports gallery29Demo alongside the block: the exact props behind the preview above. Spread it to get a working plate Grid Lightbox in one line.
import { Gallery29, gallery29Demo } from "@/components/beste/block/gallery29";
export default function Page() {
return <Gallery29 {...gallery29Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Gallery29 } from "@/components/beste/block/gallery29";
export default function Page() {
return (
<Gallery29
eyebrow="Where we are"
heading="Six places, six plates."
button={ label: "How to find us", href: "/visit", tone: "outline" }
labels={ open: "Open", close: "Close", previous: "Previous plate", next: "Next plate", plate: "Plate", of: "of" }
plates={[
{
title: "Rua da Prata",
caption: "The main rooms, second floor",
href: "/rooms",
linkLabel: "About this room",
image: { src: "/places/prata.jpg", alt: "A tiled stairwell" },
},
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | – | Small-caps line above the heading |
heading | string | – | Section heading, rendered as an h2 through Text1 |
button | ActionButton | – | Pill action beside the heading |
plates | Plate[] | [] | Plates, three across from lg |
labels | Labels | {} | Screen-reader and counter wording |
className | string | – | Extra classes for the outer <section> |
type Plate = {
title: string;
caption?: string;
href?: string;
linkLabel?: string;
image: Image;
};
type Labels = {
open?: string;
close?: string;
previous?: string;
next?: string;
plate?: string;
of?: string;
};
type Image = { src: string; alt: string };
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};aspect-[4/3], so the grid stays even and the titles under the plates share one baseline across a row.button with cursor-zoom-in, so opening the lightbox is the only thing a click in the grid can do.href is optional: a plate that belongs to a page offers it as a link inside the lightbox footer, so the grid keeps a single hit target while the page stays reachable.AnimatePresence, which is correct for a dialog; the always-mounted rule in this set applies to navigation panels, not modals.cursor-w-resize and cursor-e-resize, so the pointer names the direction before the click.custom prop on AnimatePresence, so going back reads differently from going forward.-8% to 8% against a 1.18 scale and clear from blur(24px) on decode; the lightbox image is object-contain and does not drift.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.
gallery28
A three-column masonry of photographs in mixed aspects, each rising into view and drifting inside its frame as the page scrolls, with a serif subject and a small-caps place and month under every plate; any plate opens a paper-toned lightbox that sets the subject large beside the picture, turns pages by clicking either half of the plate, the arrows or the keyboard, and slides each plate in from the side it came from.
gallery26
A square cover grid that names each picture only on hover and opens it full screen on click, where arrows and the keyboard walk the archive and a link leads into the issue itself.
gallery3
Album gallery with pill filters that swap the whole set below, where any tile opens a light full-screen viewer: the frame hangs on the page surface while a side column carries the caption, the album summary, the controls and a plainly labelled thumbnail index.