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.
One artist to a room: a sticky room card beside three works, repeated down the page on rules. The viewer keeps the room going, showing the current work with the one you are about to see waiting beside it.
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.
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
npx shadcn add "https://ui.beste.co/r/gallery16?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/gallery16?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/gallery16.tsx plus the badge7 eyebrow it uses.
The installed file exports gallery16Demo alongside the block: the exact props behind the preview above. Spread it to get a working gallery in one line.
import { Gallery16, gallery16Demo } from "@/components/beste/block/gallery16";
export default function Page() {
return <Gallery16 {...gallery16Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Gallery16 } from "@/components/beste/block/gallery16";
export default function Page() {
return (
<Gallery16
badge={{ label: "Three rooms" }}
heading="One artist to a room, in the order you would meet them."
rooms={[
{
artist: "Hélène Marchal",
room: "Room one",
statement: "Letterforms cut, printed and hung at the size they were drawn.",
works: [
{
src: "/rooms/one-01.jpg",
alt: "Letterpress work",
title: "Alphabet for a Quiet Room",
medium: "Letterpress on rag paper",
year: "2025",
},
{
src: "/rooms/one-02.jpg",
alt: "Specimen sheets",
title: "Sheets, Before Binding",
medium: "Ink on uncoated stock",
year: "2025",
},
],
},
]}
labels={{
openLabel: "See this work",
closeLabel: "Leave the room",
nextLabel: "Go to the next work",
upNextTitle: "Up next",
counterSeparator: "of",
}}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string } | – | Eyebrow label rendered as a Badge7 |
heading | string | – | Section heading above the rooms |
rooms | ArtistRoom[] | [] | Rooms, each with its artist, statement and works |
labels | Gallery16Labels | {} | Fixed strings that are not content: viewer controls, the up-next title and the counter separator |
lightbox | boolean | true | Render the built-in viewer; set false to leave the frames static |
className | string | – | Extra classes for the outer <section> |
type ArtistRoom = {
artist: string;
room: string;
statement: string;
works: Work[];
};
type Work = {
src: string;
alt: string;
title: string;
medium: string;
year: string;
};
type Gallery16Labels = {
openLabel?: string;
closeLabel?: string;
nextLabel?: string;
upNextTitle?: string;
counterSeparator?: string;
};md:sticky md:top-24 md:self-start, so the artist and statement stay in view while their three works scroll past; self-start is what allows the sticking inside a grid.border-t rules rather than cards, so the page reads as a sequence of spaces rather than a list of panels.lightbox={false} disables every work button and switches the cursor back to default, leaving a plain room index.background shades on a bg-foreground/95 surface, correct for a panel that is dark in both themes.gallery23
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.
gallery14
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.
gallery12
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.
gallery18
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.