# Columns

> Arrange cards and other components in a responsive multi-column grid layout with the columns component, including customizable column counts.

The `Columns` component lets you arrange content in a responsive grid layout. It's most often used to put cards in a grid, by specifying the number of grid columns. You can also use the `Column` sub-component to wrap arbitrary content. Columns are responsive and automatically adjust for smaller screens.

::::card-grid
:::card{title="Get started" icon="rocket"}
Set up your project with our quickstart guide.
:::

:::card{title="API reference" icon="code"}
Explore endpoints, parameters, and examples for your API.
:::
::::

```mdx Columns example theme={null}
<Columns cols={2}>
  <Card title="Get started">
    Set up your project with our quickstart guide.
  </Card>
  <Card title="API reference">
    Explore endpoints, parameters, and examples for your API.
  </Card>
</Columns>
```

## Column sub-component

Use the `Column` component to wrap text or code in individual columns. This is useful when you want to display arbitrary content side by side, not just cards or other components.

:::card-grid
**Installation**

```bash theme={null}
npm install my-package
```

**Usage**

```javascript theme={null}
import { init } from 'my-package';
init();
```
:::

````mdx Column sub-component example theme={null}
<Columns cols={2}>
  <Column>

  **Installation**

  ```bash
  npm install my-package
  ```

  </Column>
  <Column>

  **Usage**

  ```javascript
  import { init } from 'my-package';
  init();
  ```

  </Column>
</Columns>
````

## Properties

- `cols` (number) — The number of columns per row. Accepts values from 1 to 4.

- `className` (string) — Additional CSS classes to apply to the columns container.

## Related topics

- [Lists and tables](/docs/create/list-table.md)
- [Cards](/docs/components/cards.md)
- [Tiles](/docs/components/tiles.md)

## Related pages

- [Ai](./ai-index.md)
- [Analytics overview](./analytics-index.md)
- [Api](./api-index.md)
- [Api playground](./api-playground-index.md)
- [Assistant](./assistant-index.md)
- [Automations overview](./automations-index.md)
- [Components overview](./components-index.md)
- [Create](./create-index.md)
- [Customize](./customize-index.md)
- [Dashboard](./dashboard-index.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
