Skip to content
R

react-photo-gallery

Responsive Justified React Image Gallery Component

by neptunianFree

#867in UI Libraries
0In stores

Description

React Photo Gallery is a responsive image gallery component for React. It keeps each photo's original aspect ratio and arranges the photos a…

Highlights

  • Justified or masonry grid of photos
  • Keeps original photo aspect ratios
  • Row or column direction layouts
  • Custom image renderer for selection and captions
  • Works in server-rendered apps

Ratings & Reviews

No ratings yet

Be the first to rate react-photo-gallery.

People also visit

R

react-photo-album

Responsive photo gallery component for React

UI Libraries
Launch
R

react-grid-gallery

Justified gallery component for React

UI Libraries
Launch
R

react-image-gallery

Responsive image gallery, carousel, image slider react component

UI Libraries
Launch
R

react-imgix

Add fast, responsive images as an image, picture, or background!

UI Libraries
Launch
Y

yet-another-react-lightbox

Modern React lightbox component

UI Libraries
Launch
R

react-stack-grid

Pinterest like layout components for React.js

UI Libraries
Launch

react-photo-gallery FAQ

What is React Photo Gallery?

A React component that shows a set of photos in a justified or masonry grid while keeping each photo's aspect ratio.

How do I install it?

Follow the installation section of the README, then try the minimal setup example.

Can I add a lightbox or selection?

The README's demos include a lightbox and selection built with a custom renderImage function, so you build those behaviours yourself.

Does it work with server-side rendering?

Yes. The README says the component is compatible with SSR apps.

Is it open source?

Yes. The source code is public on GitHub.

What are the best react-photo-gallery alternatives?

Popular alternatives to react-photo-gallery include react-photo-album, react-grid-gallery and react-image-gallery. See all react-photo-gallery alternatives

Developer Stuff

Badges