Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
kostja94 avatar

Masonry

  • 741 installs
  • 787 repo stars
  • Updated June 9, 2026
  • kostja94/marketing-skills

masonry is a Claude Code skill that designs, optimizes, and audits Pinterest-style masonry layouts with varying item heights for developers building image galleries, portfolios, or discovery feeds.

About

masonry is a marketing-skills component guide at version 1.1.1 from kostja94/marketing-skills that helps developers implement waterfall grids where items stack in columns without fixed rows, filling vertical gaps like a brick wall. The skill covers masonry layout design for galleries, portfolios, and discovery platforms, plus masonry SEO considerations and crawl-friendly structure so search engines index uneven-height content feeds. It triggers on keywords like masonry grid, Pinterest layout, waterfall layout, brick layout, and varying-height grid. Developers reach for masonry when replacing rigid CSS grids with gap-filling columns, auditing an existing gallery for layout shift or scroll jank, or validating that a discovery feed remains crawlable while using dynamic item heights.

  • Guides masonry layout design for content with varying heights that stack in columns like a brick wall
  • Clear decision table: use masonry for varying heights, image-heavy galleries, portfolios and discovery experiences
  • Direct comparison tables contrasting Masonry vs Grid vs Bento vs Carousel with structure and best-use cases
  • Triggers on keywords including masonry layout, Pinterest layout, waterfall layout, brick layout, and gallery layout
  • First-use explanation mode that introduces value before delivering implementation guidance

Masonry by the numbers

  • 741 all-time installs (skills.sh)
  • +8 installs in the week ending Jul 25, 2026 (Skillselion tracking)
  • Ranked #497 of 1,888 Design & UI/UX skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
npx skills add https://github.com/kostja94/marketing-skills --skill masonry

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs741
repo stars787
Security audit3 / 3 scanners passed
Last updatedJune 9, 2026
Repositorykostja94/marketing-skills

How do you implement a Pinterest-style masonry layout?

When they need expert guidance on implementing Pinterest-style masonry layouts with varying item heights for image galleries, portfolios, or discovery feeds.

Who is it for?

Frontend developers building image galleries, portfolios, or discovery feeds that need uneven-height items without rigid row grids.

Skip if: Teams needing uniform card grids with fixed row heights, native mobile-only layouts, or full site crawlability audits beyond masonry-specific SEO.

When should I use this skill?

The user mentions masonry layout, Pinterest grid, waterfall layout, brick layout, varying-height gallery, or masonry SEO.

What you get

Masonry grid spec, column gap rules, SEO-friendly markup guidance, and scroll UX audit notes.

  • Masonry layout specification
  • SEO markup recommendations

By the numbers

  • Skill version 1.1.1 in marketing-skills metadata

Files

SKILL.mdMarkdownGitHub ↗

Components: Masonry Layout

Guides masonry layout design for content with varying heights. Masonry stacks items in columns without distinct rows; items fill gaps like a brick wall. Best for image galleries, portfolios, and discovery-focused platforms.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

When to Use Masonry

Use masonry whenUse grid when
Varying heightsEqual-height items
Image-heavy; varied aspect ratiosProducts, templates (consistent)
Gallery, portfolio, showcaseCard grid
Discovery, browsing; visual-firstStructured browsing

See grid for equal-height grid; card for card structure.

Masonry vs Grid vs Bento vs Carousel

LayoutStructureBest for
GridEqual rows and columns; uniform itemsProducts, templates, features
MasonryColumns; items stack without rows; gaps filledPinterest, Behance; varied content
BentoIntentional sections; predefined sizesHomepage, dashboard; Apple-style
CarouselSlides; one/few visible; swipe/clickTestimonials, logos, featured items; see carousel

Masonry Structure

ElementPurpose
Columns2–4 columns; fluid or fixed
ItemsVarying heights; natural aspect ratio
GapConsistent horizontal and vertical spacing
OrderTop-to-bottom fill within columns

Implementation

  • CSS columns: column-count; simple, no JS; but items flow top-to-bottom then next column
  • Masonry.js / libraries: True masonry (left-to-right fill); may need JS
  • CSS Grid + `grid-auto-flow: dense`: Approximate; no JS; see grid for dense grid

Note: Pure masonry can create accessibility challenges (screen reader order); ensure logical DOM order.

SEO Considerations

Masonry + infinite scroll = content not crawlable. Masonry galleries often use infinite scroll or lazy load; crawlers cannot emulate scroll or "Load more" clicks, so content beyond the initial view is not discoverable.

If you useThen
Infinite scrollProvide paginated component pages with full URLs; implement pushState; see site-crawlability for search-friendly infinite scroll
Lazy loadEnsure content exists in HTML or is reachable via crawlable links
PaginationPrefer for SEO-critical content; crawlers can follow next/prev links

Reference: Google – Infinite scroll search-friendly recommendations

Best Practices

PrinciplePractice
Visual-firstThumbnails; minimal text
Aspect ratioPreserve original; avoid forced cropping
Lazy loadMany images; load on scroll
PerformanceMasonry can be heavy; consider grid for simpler cases

Use Cases

Use caseFormatPage Skill
Showcase / GalleryUser work; varied sizesshowcase-page-generator
PortfolioProjects; mixed media
Pinterest-stylePins; discovery
Image-heavy blogBlog with varied imagesblog-page-generator

Related Skills

  • site-crawlability: Infinite scroll SEO; paginated component pages; search-friendly implementation
  • grid: Equal-height grid; when masonry is overkill
  • carousel: Carousel for slides/rotation; when masonry is overkill
  • card: Card structure; masonry often uses cards
  • showcase-page-generator: Gallery masonry
  • image-optimization: Lazy load, aspect ratio, LCP

Related skills

How it compares

Use masonry for waterfall column layout and gallery SEO; use site-crawlability when the problem is whole-site indexing beyond masonry grids.

FAQ

What is a masonry layout in the masonry skill?

The masonry skill defines masonry as columns that stack items without distinct rows, letting shorter tiles fill gaps beneath taller ones like a brick wall. It targets image galleries, portfolios, and discovery feeds with varying content heights.

Does the masonry skill cover SEO?

The masonry skill at version 1.1.1 includes masonry SEO guidance for crawlable markup on uneven-height feeds. For broader site crawl audits beyond masonry grids, the related site-crawlability skill is recommended.

Is Masonry safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.