Gallery 42 - Offset column wall with centered call to actionPro

A dense wall of portrait tiles in columns shifted by different offsets, faded top and bottom so it feels endless, with a centered CTA card on top.

About Gallery 42

A dense wall of portrait tiles in columns shifted by different offsets, faded top and bottom so it feels endless, with a centered CTA card on top.

Gallery 42 is a pro gallery block for React, built on shadcn/ui and Tailwind CSS. It ships as 84 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • offset
  • columns
  • wall
  • mask
  • cta

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/gallery-42

Dependencies installed automatically: lucide-react.

Uses: avatar, button, reveal, utils.

Usage

import Gallery42 from "@/components/blocks/gallery-42"

export default function Page() {
  return <Gallery42 />
}

FAQ