Masonry
Columns of uneven items. `min` sets the narrowest column, `columns` the most there are.
quotesProps of quotes
<Masonry>
<Quote author={{ name: "Person 1" }}><p>Short.</p></Quote>
<Quote author={{ name: "Person 2" }}>
<p>A quote of middling length, long enough to wrap onto a second line.</p>
</Quote>
<Quote author={{ name: "Person 3" }}>
<p>A much longer quote, to show items keeping their own height. In a grid, the …
</Quote>
<Quote author={{ name: "Person 4" }}><p>Another short one.</p></Quote>
<Quote author={{ name: "Person 5" }}>
<p>Items read down each column, then across.</p>
</Quote>
<Quote author={{ name: "Person 6" }}><p>The last one.</p></Quote>
</Masonry>Short.
A quote of middling length, long enough to wrap onto a second line.
A much longer quote, to show items keeping their own height. In a grid, the other items in its row would stretch to match it and leave blank space at the bottom; here they don't.
Another short one.
Items read down each column, then across.
The last one.
two-columnsProps of two-columns
<Masonry columns={2} min="12rem">
<Quote author={{ name: "Person 1" }}><p>Short.</p></Quote>
<Quote author={{ name: "Person 2" }}>
<p>A quote of middling length, long enough to wrap onto a second line.</p>
</Quote>
<Quote author={{ name: "Person 3" }}>
<p>A much longer quote, to show items keeping their own height. In a grid, the …
</Quote>
<Quote author={{ name: "Person 4" }}><p>Another short one.</p></Quote>
</Masonry>Short.
A quote of middling length, long enough to wrap onto a second line.
A much longer quote, to show items keeping their own height. In a grid, the other items in its row would stretch to match it and leave blank space at the bottom; here they don't.
Another short one.