masonry

Guide masonry layout design, optimization, and SEO for varying content heights.

872|122|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/kostja94/marketing-skills --skill masonry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: masonry
Source: https://github.com/kostja94/marketing-skills/tree/main/skills/components/layout/masonry
Command: npx skills add https://github.com/kostja94/marketing-skills --skill masonry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users design, optimize, and audit masonry (Pinterest-style) layouts for content display, especially when dealing with items of varying heights.

Core Features & Use Cases

  • Layout Guidance: Provides clear distinctions between masonry, grid, bento, and carousel layouts.
  • Implementation Advice: Offers insights into CSS columns, JavaScript libraries, and CSS Grid for masonry implementation.
  • SEO Considerations: Addresses critical SEO challenges like crawlability with infinite scroll and lazy loading in masonry layouts.
  • Use Case: A user wants to create a visually appealing portfolio website with images of different aspect ratios. This Skill will guide them on structuring the masonry layout, implementing it efficiently, and ensuring it's crawlable by search engines.

Quick Start

Guide me on how to implement a masonry layout for a gallery of images with varying heights.

Frequently Asked Questions about masonry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a masonry layout for a gallery with varying image heights?

To build a masonry layout for varying image heights, you can implement it using CSS columns, JavaScript libraries, or CSS Grid. This Skill guides you through these strategies to create a visually appealing, Pinterest-style gallery structure efficiently.

What is the difference between a masonry layout and a bento or grid layout?

A masonry layout differs from grid and bento layouts by specifically accommodating content with varying heights. This Skill provides clear distinctions to help you choose the right approach for displaying items of different aspect ratios without fixed row heights.

Does a masonry layout with infinite scroll and lazy loading affect SEO?

Yes, masonry layouts with infinite scroll and lazy loading can affect SEO by hindering content crawlability. This Skill addresses these critical SEO considerations, offering strategies to ensure your varying-height content remains fully crawlable by search engines.

What is the best way to implement a Pinterest-style layout using CSS Grid?

The best way to implement a Pinterest-style layout with CSS Grid involves specific structural strategies provided by this Skill. It offers implementation advice on using CSS Grid alongside CSS columns and JavaScript libraries to optimize your varying-height content display.

Can I use this masonry layout guidance for a portfolio website with different image aspect ratios?

Yes, you can use this masonry layout guidance for a portfolio website with different image aspect ratios. It supports this exact use case by guiding you on structuring the layout, implementing it efficiently, and ensuring the visual display is crawlable.