Tiles

<Tiles
columns={3}
space="large">
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
</Tiles>

Responsive columns

The "columns" prop accepts a responsive object. Each breakpoint falls back to the previous if not specified.

<Tiles
columns={{ mobile: 1, tablet: 2, desktop: 3 }}
space="large">
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
</Tiles>

Array column syntax

columns also accepts a positional array shorthand: [mobile, tablet, desktop]. This is the same value as the object form above, just written differently.

<Tiles
columns={[1, 2, 3]}
space="large">
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
</Tiles>

Full-width child

Use Box with gridColumn="full" to make a child span all columns in the grid, regardless of the current column count.

gridColumn=full
<Tiles
columns={3}
space="large">
<Placeholder height={80} />
<Placeholder height={80} />
<Placeholder height={80} />
<Box gridColumn="full">
<Placeholder
height={80}
tone="info"
label="gridColumn=full"
/>
</Box>
<Placeholder height={80} />
<Placeholder height={80} />
</Tiles>