Description
react-stack-grid is a set of React layout components for Pinterest-style grids, where items of different heights are packed into columns. The README describes it as Pinterest-like layout components for React.js and links a live demo. You install it from npm, and a quick example shows the simplest usage, where the width of the parent is managed by react-sizeme. The props table lists the settings you can change. The instance API includes updateLayout, which recalculates the layout, and the README explains when to call it. Further sections cover animations, performance when using images, when animation is unnecessary, how to update the layout manually, and responsive layout. The page also has a changelog and contribution notes. It is a library for developers who want a masonry-style grid inside a React page.…
Highlights
- Pinterest-style masonry layout
- Props for layout configuration
- updateLayout instance method
- Animations and responsive layout
- Tips on performance with images
Ratings & Reviews
No ratings yet
Be the first to rate react-stack-grid.
People also visit
react-stack-grid FAQ
What does react-stack-grid do?
It lays out items in a Pinterest-style grid in React.
How do I install it?
Install react-stack-grid from npm. The README has a quick example that shows the simplest usage.
When do I need updateLayout?
The README's instance API lists updateLayout, and a separate section explains how to update the layout manually.
Does it handle images?
The README has a tip on performance when using images, and a section on responsive layout.
What are the best react-stack-grid alternatives?
Popular alternatives to react-stack-grid include @egjs/react-infinitegrid, react-photo-gallery and react-grid-gallery. See all react-stack-grid alternatives




















