Masonry Layout

Introductory example using masonry layout.

import PhotoAlbum from "react-photo-album";
import photos from "./photos";

<PhotoAlbum layout="masonry" photos={photos} />

Live Demo

CodeSandbox

Edit on CodeSandbox

Source Code

View on GitHub