Edition Inspector

(Editions)

Prints you can hold up to the light before deciding.

Every edition opens with its own detail crops, so the paper and the ink are visible before anything is framed.

About this block

Edition InspectorPRO

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.

Gallery18: Edition Inspector

Prints presented as editions: mounted sheets in a row, opening into a viewer that keeps the whole sheet and its detail crops in one place, swapped by a strip of pills beside the edition record.

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

Base UI flavor

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

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

Quick start

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

tsx
import { Gallery18, gallery18Demo } from "@/components/beste/block/gallery18";

export default function Page() {
  return <Gallery18 {...gallery18Demo} />;
}

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

tsx
import { Gallery18 } from "@/components/beste/block/gallery18";

export default function Page() {
  return (
    <Gallery18
      badge={{ label: "Editions" }}
      heading="Prints you can hold up to the light before deciding."
      description="Every edition opens with its own detail crops."
      editions={[
        {
          src: "/editions/alphabet.jpg",
          alt: "Letterpress sheet",
          title: "Alphabet for a Quiet Room",
          artist: "Hélène Marchal",
          process: "Letterpress, two passes",
          size: "120 × 84 cm",
          edition: "Twelve, plus two proofs",
          crops: [
            { src: "/editions/alphabet-crop-1.jpg", alt: "Impression depth", label: "Impression depth" },
            { src: "/editions/alphabet-crop-2.jpg", alt: "Paper grain", label: "Paper grain" },
          ],
        },
      ]}
      labels={{
        openLabel: "Inspect this edition",
        closeLabel: "Close the edition",
        previousLabel: "Previous edition",
        nextLabel: "Next edition",
        fullWorkLabel: "Whole sheet",
        cropsTitle: "Look closer",
        processTitle: "Process",
        sizeTitle: "Sheet",
        editionTitle: "Edition",
        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
editionsEdition[][]Editions, in order
labelsGallery18Labels{}Fixed strings that are not content: viewer controls, the record's field titles and the crop strip labels
lightboxbooleantrueRender the built-in viewer; set false to leave the frames static
classNamestringExtra classes for the outer <section>
ts
type Edition = {
  src: string;
  alt: string;
  title: string;
  artist: string;
  process: string;
  size: string;
  edition: string;
  crops: Crop[];
};

type Crop = {
  src: string;
  alt: string;
  label: string;
};

type Gallery18Labels = {
  openLabel?: string;
  closeLabel?: string;
  previousLabel?: string;
  nextLabel?: string;
  fullWorkLabel?: string;
  cropsTitle?: string;
  processTitle?: string;
  sizeTitle?: string;
  editionTitle?: string;
  counterSeparator?: string;
};

Behavior notes

  • The crop selection is a single index where -1 means the whole sheet, so the big frame and the pill strip share one piece of state rather than two that can disagree.
  • That index resets to the whole sheet whenever an edition is opened or stepped, so a new edition never arrives showing somebody else's detail.
  • The record uses a fixed minmax(0,6rem) term column with right-aligned values, so a long process description that wraps still ends on the same edge as the sheet size and the edition.
  • Crop pills are real button elements with aria-pressed, and the whole-sheet pill is one of them, so the set reads as a single choice.
  • The picture is object-contain on a bg-muted wall, so a landscape crop and a portrait sheet both sit correctly without cropping.
  • Escape closes and the left and right arrows step between editions, wrapping in both directions.
  • Below md the record column moves under the picture and gains a top border instead of a left one, keeping the viewer usable on a phone.
  • Setting lightbox={false} disables every edition button and switches the cursor back to default, leaving a plain row of mounted sheets.

More Gallery blocks

View all Gallery
PRO

gallery23

Wall Scale Viewer

Works listed with the sizes they are printed at, opening a viewer that hangs the piece in a photographed room and scales it as you switch size pills, so the dimensions stop being an abstraction.

PRO

gallery11

Full Bleed Strip With Sheet Viewer

Edge-to-edge strip of tall frames opening a viewer where the picture fills the screen and the caption, note and thumbnails sit in a sheet that slides off the bottom when you want the frame uncovered.

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

gallery12

Exhibition Wall Hang

Works of different sizes hung on one centre line inside a matted wall panel, each with its own label, opening a viewer that shows the piece in a mount beside a museum wall label of medium, dimensions and year.

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.

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.