Masonry

You might say

The images are all different heights—do not crop them into one size, just let new ones tuck under the short ones.

Pack cards of different heights into equal-width columnsOn galleries and inspiration feeds, images vary in height; masonry lets each new card fill the shortest gap so no full row is left blank. The trade-off is that reading order runs down columns instead of across rows, and once the layout collapses to a single column on phones, the content order needs its own acceptance check.
Know first
Masonry Layout
Card gridRows stretch to the tallest card; short cards leave gaps
1 2 3 4 5 6
Masonry4 fills the shortest column; rows now read 5, 6, 4
15
26
34
On phonesOne column restores the original 1–6 order
1234
MasonryCard Grid

Card Grid keeps strict rows and equal-height cards for scanning and comparison; Masonry drops row alignment for compactness and suits browsing.

MasonryBento Grid

Bento Grid assigns cell sizes to express a designed priority; Masonry positions come from an automatic packing rule and express no priority.

When to use it

  • Gallery walls where photos and illustrations keep their natural ratios
  • Inspiration and asset feeds built for continuous browsing
    Keep scrolling to load more
  • Product or case covers with inconsistent sizes that should stay compact
    Noise-canceling headphones¥ 899
    Eye-care desk lamp¥ 199
  • Growing collections where packing saves more height than tidy rows

When NOT to use it

  • Content with a strict order, such as steps or timelines
    Step 1Step 2
    Step 4 lands ahead of Step 3
  • Row-by-row comparison of similar fields, where misalignment hurts
  • Keeping multiple columns on phones until cards become too narrow
  • Long-form article lists, where packing breaks continuous reading
Anatomy
CardFills in
Columns keep equal widths while heights vary freely
Cards keep the natural ratio of their content instead of being cropped
The next card joins the shortest column, which is also why the order shuffles
Variants
Three Columns
The common column count for desktop galleries and feeds
Two Columns
On narrow screens or when cards need larger previews
Single Column
The default phone form, where content returns to its original order
Typical use cases
Photography wall
Harbor Mist
Hillside Steps
Still Life Study
Greenhouse
Old Town at Night
Illustration feed
236 saved ideas · keep scrolling to load more
Product covers
🎧
Noise-canceling Headphones
$129
🪑
Ergonomic Chair
$189
💡
Desk Lamp
$29
⌨️
Mechanical Keyboard
$49
Template library
Portfolio Template
Free
Event Signup Page
Free
Blog Theme
Free
Further reading