Components
← All components

Masonry

stimeo--masonry

Packs cards of different heights into whichever column is shortest, without reordering them.

  • Core

Packs cards of differing heights into whichever column is currently shortest. How many columns there are follows from the container's width and the narrowest column you allow, and the packing is redone when the width changes or cards come and go. Nothing is reordered: only the visual position changes, while reading order and Tab order stay as your markup wrote them. That makes it right for independent cards rather than a list whose order carries meaning. The column count is readable from CSS, so it can feed a multi-column rule directly.

running

Quick note

A short card.

Changelog

A taller card whose extra paragraphs make the column heights uneven, so the shortest-column packing is easy to see.

A taller card whose extra paragraphs make the column heights uneven, so the shortest-column packing is easy to see.

Release notes

A medium card with a couple of lines of supporting copy to vary the height.

Quick note

A short card.

Changelog

A taller card whose extra paragraphs make the column heights uneven, so the shortest-column packing is easy to see.

A medium card with a couple of lines of supporting copy to vary the height.

Release notes

A medium card with a couple of lines of supporting copy to vary the height.

Keyboard

This component has no keyboard interactions of its own.