Back to blocks
BlockeCommerceFree

Photo Review Gallery React component

A customer photo wall for a product: a mosaic with a featured photo and quote, All / 5 stars / Verified filters, a +N tile, a lightbox with the photo, rating, review, verified badge, helpful vote, thumbnails, arrow keys and swipe, plus an Add your photos button that previews picked images.

About the Photo Review Gallery component

Photo Review Gallery shows a product the way customers actually use it. A mosaic leads with a featured photo and its quote, and filters narrow it to five-star or verified photos.

Any photo opens a lightbox with the full review beside it: rating, date, a verified badge and a helpful vote. Shoppers move through photos with arrows, the keyboard or a swipe, and can start their own review by adding photos, which preview right away.

When to use it

Put it on product pages between the rating summary and the full review list, especially for products where looks, size or fit matter.

With fewer than three photos, show them inside the review list instead; an almost empty mosaic draws attention to the gap.

Installation

Add the Photo Review Gallery component to your project with the shadcn CLI. It lands in components/photo-review-gallery.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/photo-review-gallery

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More eCommerce components

Write a Review Form
Free
Rating Summary Breakdown
Free
Sticky Add to Cart Bar
Free
Gift Card Designer
Free
Size Guide Modal
Free
Mobile Filter Modal
Free