Product Gallery 21 - Bento Product Image Grid

Pro

A bento-style product image grid with one large photo beside four smaller ones, a fullscreen lightbox on click, and a swipe carousel with arrows on mobile.

Shadcn Product Gallery 21 block

Component data

ID
product-gallery21
Access
pro
Created
Nov 11, 2025
Type
block
Libraries
Radix UI, Base UI, React Aria

Product Gallery 21 block design & features

A product image grid in a bento layout, built with shadcn/ui Carousel and PhotoSwipe. On wider screens one large photo takes up the left half and four smaller photos sit in a two by two grid on the right, all with rounded corners.

Clicking any photo opens a fullscreen lightbox with arrow buttons, a close button and an image counter.

On mobile the grid becomes a carousel of square images with previous and next buttons over the photo. The images and gallery ID are props.