Gallery 119 - Four-way crosshair comparisonPro

A comparison viewer that splits one frame into four quadrants (four edits of the same photo) with a draggable crosshair moving both the vertical and horizontal divide, plus keyboard nudging.

About Gallery 119

A comparison viewer that splits one frame into four quadrants (four edits of the same photo) with a draggable crosshair moving both the vertical and horizontal divide, plus keyboard nudging.

Gallery 119 is a pro gallery block for React, built on shadcn/ui and Tailwind CSS. It ships as 104 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
  • crosshair
  • quadrants
  • before after
  • editing

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

Dependencies installed automatically: lucide-react.

Uses: reveal, utils.

Usage

import Gallery119 from "@/components/blocks/gallery-119"

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

FAQ