Masonry UI
Mood track «Pamgaea» · Kevin MacLeod incompetech.com · licensed under Creative Commons BY 4.0
Masonry grid · Griglia a muratura · Pinterest-style layout
Grids of cards with different heights that interlock like bricks, with no gaps between rows. It is the classic layout of image boards like Pinterest.
- Era
- 2010 – today
- Use
- Mainstream
- Domain
- Web / UI
Live demo
View code
<div class="wall"><div class="c"><i class="g1" style="height:120px"></i><p>Cucine in legno chiaro</p></div><div class="c"><i class="g2" style="height:70px"></i><p>Palette autunno</p></div><div class="c"><i class="g3" style="height:150px"><b>Salva</b></i><p>Rifugi in montagna</p></div><div class="c"><i class="g4" style="height:90px"></i><p>Ceramiche fatte a mano</p></div><div class="c"><i class="g5" style="height:110px"></i><p>Giardini sul balcone</p></div><div class="c"><i class="g6" style="height:80px"></i><p>Colazioni lente</p></div><div class="c"><i class="g1" style="height:60px"></i><p>Luce del nord</p></div><div class="c"><i class="g4" style="height:100px"></i><p>Tessuti</p></div></div> body{background:#fff;font-family:'DM Sans',sans-serif;color:#111;overflow:hidden}
.wall{columns:4 100px;column-gap:10px;max-width:92vw;margin:10px auto}
.c{break-inside:avoid;margin-bottom:8px}
i{display:block;border-radius:16px;position:relative}
.g1{background:linear-gradient(160deg,#f3d9b1,#c98b5a)}.g2{background:linear-gradient(120deg,#E2264D,#f59e0b)}.g3{background:linear-gradient(#9ec8e8,#3f6e5a 70%,#2b3a33)}
.g4{background:linear-gradient(45deg,#e9e4dc,#b9ab98)}.g5{background:radial-gradient(circle at 30% 40%,#a7d38f,#4f7a3a)}.g6{background:linear-gradient(#fde2c8,#f7b267)}
b{position:absolute;top:8px;right:8px;background:#E2264D;color:#fff;font-size:11px;padding:6px 10px;border-radius:99px}
p{margin:4px 2px 0;font-size:11px;font-weight:700} Characteristics
- Fixed columns with variable heights
- Image-led cards with rounded corners
- Short captions under each card
- Infinite scroll
- Save button revealed on hover
Palette
Click a swatch to copy it
Typography
Headings · DM Sans Masonry UI
Body · DM Sans Grids of cards with different heights that interlock like bricks, with no gaps between rows. It is the classic layout of image boards like Pinterest.
Prompt for your agent
Copy and paste into your prompt to have an agent or image generator reproduce this style.
For web pages and UI
Design the web page or interface in this style: Masonry UI (Masonry grid, Griglia a muratura). Grids of cards with different heights that interlock like bricks, with no gaps between rows. It is the classic layout of image boards like Pinterest. Characteristics: Fixed columns with variable heights, Image-led cards with rounded corners, Short captions under each card, Infinite scroll, Save button revealed on hover. Palette: #FFFFFF, #111111, #E2264D, #EFEFEF, #767676. Typography: headings in DM Sans, body text in DM Sans (Google Fonts or equivalents). Mood: calm, clean, immersive. References: Pinterest (2010), Masonry.js, Unsplash, Dribbble.
Relations
References
- Pinterest (2010)
- Masonry.js
- Unsplash
- Dribbble