Walkthrough Exhibition RailPRO

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.

Gallery14: Walkthrough Exhibition Rail

The show read as a walk: works stacked down the page on their mounts, with a sticky rail that marks whichever one holds the middle of the screen and jumps to any other.

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

Base UI flavor

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

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

Quick start

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

tsx
import { Gallery14, gallery14Demo } from "@/components/beste/block/gallery14";

export default function Page() {
  return <Gallery14 {...gallery14Demo} />;
}

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

tsx
import { Gallery14 } from "@/components/beste/block/gallery14";

export default function Page() {
  return (
    <Gallery14
      badge={{ label: "Walk the show" }}
      heading="Scroll the exhibition the way you would walk it."
      dates="Rooms one to three, until 2 June"
      works={[
        {
          src: "/show/01.jpg",
          alt: "Letterpress work on rag paper",
          number: "01",
          title: "Alphabet for a Quiet Room",
          artist: "Hélène Marchal",
          medium: "Letterpress on rag paper, 2025",
          room: "One",
          note: "Hung first because it sets the pace for the room.",
        },
        {
          src: "/show/02.jpg",
          alt: "Folded paper work",
          number: "02",
          title: "Fold, Unfolded",
          artist: "Marta Ekelund",
          medium: "Folded cotton paper, 2024",
          room: "One",
          note: "Lit from one side only, so it changes shape as you cross the room.",
        },
      ]}
      labels={{ indexTitle: "Where you are", roomTitle: "Room", jumpLabel: "Go to this work" }}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string }Eyebrow label rendered as a Badge7
headingstringSection heading in the header row
datesstringRun of the show, set opposite the heading
worksWork[][]Works in hanging order, top to bottom
labelsGallery14Labels{}Fixed strings that are not content: the rail title, the room title and the jump label
classNamestringExtra classes for the outer <section>
ts
type Work = {
  src: string;
  alt: string;
  number: string;
  title: string;
  artist: string;
  medium: string;
  room: string;
  note: string;
};

type Gallery14Labels = {
  indexTitle?: string;
  roomTitle?: string;
  jumpLabel?: string;
};

Behavior notes

More Gallery blocks

View all Gallery
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

gallery7

Counter Scrolling Image Bands

Two full-bleed image tracks scrolling in opposite directions under a centered statement, pausing together on hover, where any frame opens a framed viewer: the picture sits in a mount on a scrim with its caption, position and controls beneath it.

PRO

gallery1

Masonry Caption Gallery

Masonry gallery built with CSS columns so images keep their own heights, each captioned with its subject and place, and any frame opening a drawer that slides in from the right while the wall stays visible behind the scrim.

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

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.