Cover Archive With LightboxPRO

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.

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.

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/gallery26?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

This installs the block to components/beste/block/gallery26.tsx and the badge6 component it uses for the eyebrow (installed to components/beste/component/badge6.tsx).

Quick start

The installed file exports gallery26Demo alongside the block: the exact props behind the preview above. Spread it to get a working cover grid in one line.

tsx
import { Gallery26, gallery26Demo } from "@/components/beste/block/gallery26";

export default function CoversPage() {
  return <Gallery26 {...gallery26Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Gallery26 } from "@/components/beste/block/gallery26";

export default function CoversPage() {
  return (
    <Gallery26
      eyebrow="Covers"
      heading="Every issue has its own picture"
      readLabel="Read this issue"
      closeLabel="Close"
      covers={[
        {
          image: { src: "/covers/042.jpg", alt: "Notes across a table" },
          title: "The quote we lost on purpose",
          issue: "042",
          href: "/letters/042",
        },
      ]}
      note="Shot in the studio, on the morning the issue went out."
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstringBadge6 label, sharing a row with the note
headingstringSection heading under the rule
coversCover[][]Square tiles, four across on desktop
readLabelstringLink into the issue, inside the lightbox
closeLabelstringLabel on the lightbox close button
notestringLine beside the eyebrow
classNamestringExtra classes for the outer section
ts
type Cover = {
  image: CoverImage;
  title: string;
  issue: string;
  href: string;
};

type CoverImage = {
  src: string;
  alt: string;
};

Behavior notes

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

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

gallery10

Overview Toggle Viewer

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.

PRO

gallery14

Walkthrough Exhibition Rail

Long-scroll exhibition where every work sits in its own matted panel with a full label, beside a sticky rail whose numbered index follows the work in the middle of the screen and scrolls to any other on click.

PRO

gallery22

Archive Record Cards

Text-first archive index of reference, thumbnail, title and year, opening a record card with two sides: the work on the front and the registrar's acquisition, condition and storage notes on the back.

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.

Markdown version