Skip to content

Context7 Platform -- Up-to-date docs for AI agents

418 B
Raw Blame
---
title: Columns
description: Arrange content in a responsive grid
---

Set `cols` from 1 to 4. `<CardGroup>` is the legacy name for `<Columns>`.

## Usage

```mdx
<Columns cols={2}>
  <Column>First column.</Column>
  <Column>Second column.</Column>
</Columns>
```

Cards do not need a `<Column>` wrapper.

## Example

<Columns cols={2}>
  <Column>First column.</Column>
  <Column>Second column.</Column>
</Columns>