Skip to content

Grid

Arranges children in a responsive CSS grid: 1 column below 40rem, 2 columns up to 64rem, then the full column count.

One

First item.

Two

Second item.

Three

Third item.

  • columns: 2, 3 (default), 4, 6
  • gap: 1–6 (default 4)
<Grid columns="3" gap="4">
<Card title="One" description="First item." />
<Card title="Two" description="Second item." />
<Card title="Three" description="Third item." />
</Grid>