Elements

Components

Masonry

A wall of uneven heights: items flow down each column before crossing to the next, so the order is column-first. A row-flow wall would need grid masonry, which browsers do not ship yet.

#Basic usage

masonry/basic Vue React
1
2
3
4
5
6
7
8
9
10
11
12
13
14
masonry/columns Vue React
1
2
3
4
5
6
7
8
9
10
11
12
13
14
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#Props

#Masonry

PropTypeDefaultDescription
columnsNumber3—
minColumnStringundefined—
gapString"md"—