Archive Record CardsPRO

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.

Gallery22: Archive Record Cards

A text-first archive index of reference, thumbnail, title and year. Opening a record gives a card with two sides: the work on the front, and the registrar's back where the facts are written.

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

Base UI flavor

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

This installs the block to components/beste/block/gallery22.tsx plus the badge7 eyebrow it uses.

Quick start

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

tsx
import { Gallery22, gallery22Demo } from "@/components/beste/block/gallery22";

export default function Page() {
  return <Gallery22 {...gallery22Demo} />;
}

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

tsx
import { Gallery22 } from "@/components/beste/block/gallery22";

export default function Page() {
  return (
    <Gallery22
      badge={{ label: "Record cards" }}
      heading="Every work has a back, and the back is where the facts live."
      description="Open one and turn it over to read what the registrar wrote."
      entries={[
        {
          reference: "A-014",
          src: "/archive/a-014.jpg",
          alt: "Letterpress work",
          title: "Alphabet for a Quiet Room",
          artist: "Hélène Marchal",
          year: "2025",
          verso: [
            { title: "Acquired", value: "Commission, 2025" },
            { title: "Condition", value: "Sound, unframed" },
          ],
          note: "Signed on the reverse in pencil, lower left.",
        },
      ]}
      labels={{
        openLabel: "Pull this record",
        closeLabel: "File it back",
        previousLabel: "Previous record",
        nextLabel: "Next record",
        flipLabel: "Turn the work over",
        rectoTitle: "Front",
        versoTitle: "Back",
        counterSeparator: "of",
      }}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string }Eyebrow label rendered as a Badge7
headingstringSection heading in the left header column
descriptionstringSupporting paragraph in the right header column
entriesArchiveEntry[][]Records in the index, in order
labelsGallery22Labels{}Fixed strings that are not content: viewer controls, the two side titles and the counter separator
lightboxbooleantrueRender the built-in viewer; set false to leave the index static
classNamestringExtra classes for the outer <section>
ts
type ArchiveEntry = {
  reference: string;
  src: string;
  alt: string;
  title: string;
  artist: string;
  year: string;
  verso: VersoRow[];
  note: string;
};

type VersoRow = {
  title: string;
  value: string;
};

type Gallery22Labels = {
  openLabel?: string;
  closeLabel?: string;
  previousLabel?: string;
  nextLabel?: string;
  flipLabel?: string;
  rectoTitle?: string;
  versoTitle?: string;
  counterSeparator?: string;
};

Behavior notes

More Gallery blocks

View all Gallery
PRO

gallery18

Edition Inspector

Matted edition cards opening a viewer that keeps the whole sheet and its detail crops in one place: pill controls swap what the large frame shows while the side column holds process, sheet size and edition.

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

gallery17

Acquisition Year Ledger

Collection intake listed year by year with a summary beside each set of works, opening a viewer that scrolls rather than steps: every acquisition is a snap section and the header counter follows whichever fills the screen.

PRO

gallery20

Paired Hang Compare

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.

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.

PRO

gallery16

Artist Room Index

Exhibition split into artist rooms, each with a sticky statement column beside its works, opening a viewer that shows the chosen piece large with the next one waiting as a thumbnail you can step straight into.