1.1.0 • Published 3 years ago

react-responsive-image-grid v1.1.0

Weekly downloads
78
License
MIT
Repository
github
Last release
3 years ago

React Image Grid

Build Status Coverage Status

React Image Grid is an image grid component based on Google Photos. It will display a grid of photos, with customizeable row height and margins. The grid will adapt to fit it's parent container, and will resize rows according to screen size.

Image of react-image-grid

New! Image lightbox

You can now click on a photo and view your grid as a gallery. Navigate using the arrow keys or the on screen arrows. Currently does not support swipe gestures for mobile.

Gif of lightbox

Installation

Install via npm or yarn:

yarn add react-responsive-image-grid

or

npm install react-responsive-image-grid

Usage

See the src/demo for usage. You'll need the direct URLs to your photos, as well as the height and width of your images in pixels.

Project Roadmap

  • Performance
    • Implement lazy loading of photos (only in viewport images loaded)
    • Support multiple image sizes for different devices
    • Increase initial scroll and render speed
  • Features
    • Drag and drop images
    • Make images selectable
1.1.0

3 years ago

1.0.0

5 years ago

0.2.1

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago