3 JavaScript Masonry Layouts
Build fluid, gapless grid layouts with JavaScript Masonry effects. This collection showcases cascading grids that auto-adjust to content size, enabling dynamic, Pinterest-style designs ideal for galleries, portfolios, blogs, and content-heavy interfaces.
Examples

Responsive Fluid Photo Gallery Grid
This is a Responsive Fluid Photo Gallery Grid. It organizes varied aspect-ratio images into justified rows without cropping essential content. Its primary function is to optimize visual space, ensuring edge-to-edge alignment while deferring offscreen asset loading for strict performance control. (Requires: lazysizes, object-fit-images)
See the Pen Responsive Fluid Photo Gallery Grid.

Tilt Grid Content Reveal
This is a Tilt Grid Content Reveal. It transforms a standard masonry image gallery into a highly interactive, spatial experience. Its function is to provide an engaging browsing interface where hovering induces physical 3D tilt, and clicking smoothly expands the thumbnail into a full-screen presentation, completely immersing the user in the selected content. (Requires: GSAP, charming.js, masonry.js, imagesloaded.js)
See the Pen Tilt Grid Content Reveal.