Grid.
A responsive CSS grid composition primitive.
One
Two
Three
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
children | ReactNode | No | — | — | Items automatically arranged into columns. |
minWidth | number | No | 170 | — | Minimum width of an individual grid item in pixels. |
gap | number | No | 3 | — | Grid gap in 4px increments. |
className | string | No | — | — | Custom grid class. |