Plate Grid Lightbox

Where we are

Sixplaces,sixplates.

About this block

Plate Grid LightboxPRO

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.

Gallery29: Plate Grid Lightbox

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.

Upgrade Now

Installation

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

bash
npx shadcn add "https://ui.beste.co/r/gallery29?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
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.

Quick start

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.

tsx
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:

tsx
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" },
        },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstringSmall-caps line above the heading
headingstringSection heading, rendered as an h2 through Text1
buttonActionButtonPill action beside the heading
platesPlate[][]Plates, three across from lg
labelsLabels{}Screen-reader and counter wording
classNamestringExtra classes for the outer <section>
ts
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";
};

Behavior notes

  • Every frame is aspect-[4/3], so the grid stays even and the titles under the plates share one baseline across a row.
  • Each plate in the grid is a 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.
  • The lightbox mounts conditionally inside AnimatePresence, which is correct for a dialog; the always-mounted rule in this set applies to navigation panels, not modals.
  • Escape closes and the arrow keys turn the page while the lightbox is open, and body scroll is locked for as long as it is.
  • Either half of the plate is a button with cursor-w-resize and cursor-e-resize, so the pointer names the direction before the click.
  • The plate slides in the direction of travel through a custom prop on AnimatePresence, so going back reads differently from going forward.
  • Grid plates drift -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.

More Gallery blocks

View all Gallery
PRO

gallery2

Lightbox Frame Grid

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.

PRO

gallery28

Light Masonry

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.

PRO

gallery26

Cover Archive With Lightbox

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.

PRO

gallery3

Filterable Album Grid

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.

PRO

gallery13

Catalogue Index Plates

Printed-catalogue layout pairing a numbered index of works with a sticky matted plate and its note, where an expand seal opens the plate alone on a dark ground with only its number and the arrows.

PRO

gallery8

Photo Book Spread Viewer

Photographs presented as printed spreads on a soft panel: two plates share a page with a centre rule, round controls turn to the next spread, and a bar index below tracks how far through the book you are.