{"library":"react-photo-album","type":"library","category":null,"description":"React Photo Album is a responsive React component designed for building dynamic photo galleries, currently at version 3.6.0. It offers three distinct layout options: rows, columns, and masonry, each powered by sophisticated dynamic programming algorithms to ensure optimal arrangement and visual balance. Its rows layout, inspired by the Knuth and Plass algorithm, minimizes deviations from a target row height, preventing stretched images or awkward last rows. The columns layout dynamically balances content, while masonry places photos into the shortest column. The library is actively maintained with regular updates and emphasizes performance, SSR compatibility, built-in TypeScript definitions, and automatic responsive image handling. It serves as a re-engineered alternative to `react-photo-gallery`, supporting React 18+ and Node 18+ and requiring modern ESM-compatible bundlers.","language":"javascript","status":"active","version":"3.6.0","tags":["javascript","react","image","photo","album","gallery","masonry","photo album","photo gallery","typescript"],"install":[{"cmd":"npm install react-photo-album","imports":["import PhotoAlbum from 'react-photo-album';","import { RowsPhotoAlbum } from 'react-photo-album';","import type { Photo } from 'react-photo-album';","import 'react-photo-album/styles.css'; // For PhotoAlbum (3-in-1 component)\nimport 'react-photo-album/rows.css'; // For RowsPhotoAlbum"]},{"cmd":"yarn add react-photo-album","imports":[]},{"cmd":"pnpm add react-photo-album","imports":[]}],"homepage":"https://react-photo-album.com","github":"https://github.com/igordanchenko/react-photo-album","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-photo-album","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-photo-album/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}