Label-free salon wall where works of four different spans pack tightly into a matted panel, opening a passe-partout viewer whose full-height side margins are themselves the previous and next controls.
Works packed tight and label-free the way a salon wall is hung, sizes doing the talking. The viewer is a passe-partout: the work sits in a deep mat and the wide margins themselves step through the hang.
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/gallery15?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/gallery15?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/gallery15.tsx plus the badge7 eyebrow it uses.
The installed file exports gallery15Demo alongside the block: the exact props behind the preview above. Spread it to get a working gallery in one line.
import { Gallery15, gallery15Demo } from "@/components/beste/block/gallery15";
export default function Page() {
return <Gallery15 {...gallery15Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Gallery15 } from "@/components/beste/block/gallery15";
export default function Page() {
return (
<Gallery15
badge={{ label: "Salon hang" }}
heading="Hung close, floor to ceiling, the way the room was found."
note="Twelve works from the collection, rehung this spring."
works={[
{
src: "/salon/01.jpg",
alt: "Letterpress work",
title: "Alphabet for a Quiet Room",
artist: "Hélène Marchal",
medium: "Letterpress on rag paper",
year: "2025",
span: "tall",
},
{
src: "/salon/02.jpg",
alt: "Folded paper work",
title: "Fold, Unfolded",
artist: "Marta Ekelund",
medium: "Folded cotton paper",
year: "2024",
span: "medium",
},
]}
labels={{
openLabel: "See this work",
closeLabel: "Back to the wall",
previousLabel: "Previous work",
nextLabel: "Next work",
counterSeparator: "of",
}}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string } | – | Eyebrow label rendered as a Badge7 |
heading | string | – | Section heading in the left header column |
note | string | – | Supporting paragraph in the right header column |
works | Work[] | [] | Works on the wall, in hanging order |
labels | Gallery15Labels | {} | Fixed strings that are not content: viewer controls 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 Work = {
src: string;
alt: string;
title: string;
artist: string;
medium: string;
year: string;
span?: WorkSpan;
};
type WorkSpan = "small" | "medium" | "large" | "tall";
type Gallery15Labels = {
openLabel?: string;
closeLabel?: string;
previousLabel?: string;
nextLabel?: string;
counterSeparator?: string;
};span is a union mapped to column and row spans, so the wall is described in the data rather than by writing Tailwind per work; it defaults to small.auto-rows-[6rem] growing to md:auto-rows-[7rem], which is what keeps a salon hang dense instead of letting one work stretch the wall.bg-background mount with a small inset, reading as a frame without a border.md they collapse into a pair of round controls under the caption.max-h-[52vh] inside a deep bg-muted mat, so it always reads as something mounted rather than as an image filling the screen.bg-background, which suits works on paper better than a black surround.lightbox={false} disables every frame button and switches the cursor back to default, leaving the hang as a static wall.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.
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.
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.
gallery11
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.