High-performance CMS Masonry Grid with responsive layout, customizable image display, and elegant lightbox viewer. Perfect for portfolios, galleries, and visual content.
Make it with Workshop
Build your own component with AI
Transform your Framer CMS collections into stunning visual galleries with this high-performance masonry grid component, featuring an elegant lightbox viewer and extensive customization options.
🎯 Purpose & Objective
Create beautiful, Pinterest-style masonry layouts directly from your CMS collections. This component automatically arranges images in an optimal grid pattern with varying heights, creating visual interest while maintaining perfect alignment. Ideal for portfolios, photo galleries, product showcases, and any visual-heavy content.
🚀 High-Performance CMS Integration
Seamlessly connects to any Framer CMS Collection List
Automatic data extraction from collection items
Smart image preloading for instant loading times
Optimized rendering with minimal re-renders
Handles large collections efficiently
🎨 Ultra-Customizable Masonry Grid
Choose between responsive or fixed column layouts
Adjustable gaps between images (0-100px)
Variable height options for dynamic visual rhythm
Keep original image aspect ratios or set custom heights
Customizable image corner radius
Multiple object-fit options (cover, contain, fill, scale-down)
Hover scale effects for interactive feedback
💡 Beautifully Designed Responsive Lightbox
Smooth, elegant lightbox overlay with customizable background
Navigation arrows for browsing through images
Keyboard support (arrow keys and ESC)
Customizable border radius for lightbox images
Pre-loading for seamless image transitions
Loading indicators for better user experience
Click-outside-to-close functionality
⚙️ How to Set It Up
Drop the component into your Framer project
Connect your CMS Collection List to the component
Configure layout preferences (responsive vs fixed columns)
Adjust visual settings (gaps, heights, radius)
Enable/disable lightbox features as needed
Customize animation timings and hover effects
⚠️ Note that in preview mode, the lightbox might close automatically on first launch and you'll have to reclick on it. However it does not appear on live version so no worries 😊.
📱 Responsive Design Features
Automatically adjusts columns based on screen size
Mobile-optimized with 2-column layout
Tablet view with 3 columns
Desktop view with 4+ columns
Maintains perfect alignment across all breakpoints
⚡ Performance Optimizations
Smart image lazy loading by default
Optional eager loading for above-the-fold content
Efficient DOM updates using ResizeObserver
Memoized calculations to prevent unnecessary re-renders
Optimized event handlers with proper cleanup
🎭 Interactive Features
Smooth hover animations with customizable scale
Click-to-open lightbox functionality
Keyboard navigation support
Touch-friendly on mobile devices
Customizable transition durations
💼 Perfect Use Cases
Photography portfolios
Product galleries
Team member showcases
Real estate listings
Art exhibitions
Social media feeds
Blog post galleries
Event photo collections
This component combines the power of Framer's CMS with modern web design patterns to create engaging, professional galleries that load fast and look beautiful on any device.