Filterable Album GridPRO

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.

Gallery3: Filterable Album Grid

Photographs sorted into albums, switched with pill filters and a summary line that carries the frame count. The viewer opens on the page's own surface, with the picture on one side and a detail column holding the caption, the controls and the rest of the album.

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

Base UI flavor

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

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

Quick start

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

tsx
import { Gallery3, gallery3Demo } from "@/components/beste/block/gallery3";

export default function Page() {
  return <Gallery3 {...gallery3Demo} />;
}

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

tsx
import { Gallery3 } from "@/components/beste/block/gallery3";

export default function Page() {
  return (
    <Gallery3
      badge={{ label: "Albums" }}
      heading="Three years of work, sorted by where it happened."
      albums={[
        {
          label: "In the studio",
          summary: "Desks, walls and the state of the floor between deadlines.",
          images: [
            { src: "/albums/studio-1.jpg", alt: "Specimens on a desk", caption: "Specimens, mid-selection" },
            { src: "/albums/studio-2.jpg", alt: "Team at a shared table", caption: "Thursday review" },
          ],
        },
        {
          label: "On site",
          summary: "Installations, mostly photographed before anyone arrived.",
          images: [
            { src: "/albums/site-1.jpg", alt: "Signage on a lobby wall", caption: "Wayfinding, level two" },
          ],
        },
      ]}
      labels={{
        countSuffix: "frames",
        openLabel: "Open this frame",
        closeLabel: "Close the viewer",
        previousLabel: "Previous frame",
        nextLabel: "Next frame",
        counterSeparator: "of",
        detailTitle: "Also in this album",
      }}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string }Eyebrow label rendered as a Badge7
headingstringSection heading above the filters
albumsAlbum[][]Albums, first one selected on mount
labelsGallery3Labels{}Fixed strings that are not content: count suffix, viewer controls, counter separator and the detail column title
lightboxbooleantrueRender the built-in viewer; set false to leave the frames static
classNamestringExtra classes for the outer <section>
ts
type Album = {
  label: string;
  summary: string;
  images: AlbumImage[];
};

type AlbumImage = {
  src: string;
  alt: string;
  caption: string;
};

type Gallery3Labels = {
  countSuffix?: string;
  openLabel?: string;
  closeLabel?: string;
  previousLabel?: string;
  nextLabel?: string;
  counterSeparator?: string;
  detailTitle?: 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

gallery9

Zoomable Justified Gallery

Justified rows of frames that grow to fill every line, opening a viewer whose picture doubles as the zoom control: clicking switches between fitting the screen and filling it, with the caption and controls on one closing rule.

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

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

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

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.