Gallery 32 - Zoom-on-scroll single imagePro

A single hero photograph pinned while you scroll: it grows from an inset rounded card to full-bleed as the headline fades away and a caption fades in.

About Gallery 32

A single hero photograph pinned while you scroll: it grows from an inset rounded card to full-bleed as the headline fades away and a caption fades in.

Gallery 32 is a gallery block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 65 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.

  • scroll
  • zoom
  • sticky
  • full-bleed
  • storytelling

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add gallery-32

Dependencies installed automatically: motion.

Uses: use-reduced-motion, utils.

Usage

import Gallery32 from "@/components/blocks/gallery-32"

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

FAQ