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#

NameTypeDescription
cols1 | 2 | 3 | 4

Number of columns. Clamped to the range 1–4.

Default: 2
childrenReactNode

Column content. Prefer wrapping each cell in Column.

Column#

NameTypeDescription
childrenReactNode

Content for one column.

Last updated on