Components
Columns
Place any content side by side in a responsive grid.
Use Columns and Column for multi-column layouts that are not pure card
grids. Columns collapse to a single column below 768px. Prefer
CardGroup when every child is a Card.
Basic usage#
Install
Run
With cards#
Properties#
Columns#
| Name | Type | Description |
|---|---|---|
| cols | 1 | 2 | 3 | 4 | Number of columns. Clamped to the range 1–4. Default: 2 |
| children | ReactNode | Column content. Prefer wrapping each cell in |
Column#
| Name | Type | Description |
|---|---|---|
| children | ReactNode | Content for one column. |
Last updated on