Description
React Grid Gallery is a justified image gallery component for React, inspired by the layout used in Google Photos. It arranges images in rows so that each row fills the width of the container, which gives a tidy grid with images of different shapes. The documentation covers installation with npm and a quick start, and it has examples for image selection, custom overlays, thumbnail captions and a custom image component. It also includes lightbox integration with react-image-lightbox and yet-another-react-lightbox, so clicking a thumbnail can open the full-size image. The project is maintained on GitHub, where you can open issues, and the documentation site includes a feedback link. It is a component, so you use it inside your own React project.…
Highlights
- Justified image gallery for React
- Row layout that fills the container width
- Image selection and custom overlays
- Thumbnail captions and custom image components
- Lightbox integration
Ratings & Reviews
No ratings yet
Be the first to rate react-grid-gallery.
People also visit

react-image-gallery
Responsive image gallery, carousel, image slider react component
react-grid-gallery FAQ
What is React Grid Gallery?
A justified image gallery component for React, inspired by Google Photos.
How do I install it?
Install it with npm, then follow the quick start in the documentation.
Can I open images in a lightbox?
Yes. The documentation has examples for react-image-lightbox and yet-another-react-lightbox.
Can I customise the thumbnails?
Yes. The documentation covers custom overlays, thumbnail captions and a custom image component.
Where is the code?
On GitHub, where you can also open an issue.
What are the best react-grid-gallery alternatives?
Popular alternatives to react-grid-gallery include react-photo-gallery, react-photo-album and react-image-gallery. See all react-grid-gallery alternatives




















