Black Friday 40% off everything

Sale ends in

Gallery 29 - Interactive gallery with colour viewfinder

Pro

Draggable greyscale photo strip that turns full colour inside a centred viewfinder, with click, swipe, keyboard and button controls and a live caption.

Shadcn Gallery 29 block

Component data

ID
gallery29
Access
pro
Created
Sep 26, 2025
Updated
Oct 24, 2026
Type
block
Libraries
Radix UI, Base UI, React Aria

Gallery 29 block design & features

A centred heading and short line of copy sit above an endless strip of portrait-ratio aerial photographs. The strip is rendered as two tracks moved by the same transform: a faded greyscale track spanning the full width, and an identical full-colour track clipped to a frame in the centre, so each photo comes into colour only while it is inside the viewfinder.

The strip drifts slowly on its own and pauses while the pointer is over it. Visitors can drag or swipe it with momentum, scroll it sideways with a trackpad, click any greyscale photo to glide it into the frame, or use the arrow keys once it has focus. After each interaction it settles with a photo centred in the frame. Below the frame, a caption shows the framed photo's title and location, with previous and next buttons either side of a counter (for example 03 / 07).

The section uses theme tokens throughout, so it works in light and dark mode, and auto drift is turned off when the visitor prefers reduced motion. Images, titles and locations are passed in through props.