Gallery 46 - Side-by-side comparison pairsPro

Two-up image pairs with labelled left and right frames, switched by a tab list of named comparisons with a short note for each.

About Gallery 46

Two-up image pairs with labelled left and right frames, switched by a tab list of named comparisons with a short note for each.

Gallery 46 is a pro gallery block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 120 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.

  • comparison
  • two-up
  • tabs
  • pairs

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-46

Dependencies installed automatically: motion.

Uses: motion-presets, reveal, utils.

Usage

import Gallery46 from "@/components/blocks/gallery-46"

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

FAQ