Tiles provide a grid of equal-width content slots, extending the listing pattern to allow us to list items across and down a page in chunks. Tiles use a parent element to control the number of tiled children that should fit in each row before wrapping to the next. By providing breakpoint-aware responsive width modifiers, and additional modifiers to control the gutter size between the tiles, we can implement a flexible layout construct that allows for grid-like repeated content without reaching for a grid pattern that delivers full control over individual column widths.
Tiles come into play most frequently with card-based designs and marketing pages constructed out of equally sized chunks of text and images. What’s especially convenient about tiles for these layouts is the simplicity of configuring them to handle responsive breakpoints and wrap fluidly without unintentionally leaking margins outside the parent.
.tiles.tiles__tile// Gutter size modifiers:.tiles--medium.tiles--medium > .tiles__tile// Modifiers for tiles per row:.tiles--2 > .tiles__tile.tiles--3 > .tiles__tile.tiles--4 > .tiles__tile
<!-- These tiles will stack vertically until the small breakpoint is reached, then will flow three per row: -->.........