
> Organize content in flexible grid arrangements

The `Columns` component enables structured grid layouts for any content type. Ideal for creating balanced, side-by-side presentations of related information.

## Multi-Column Layout

<Columns cols={3}>
  <Card title="Authentication" icon="lock">
    Secure user management and access control
  </Card>

  <Card title="Data Storage" icon="database">
    Efficient database operations and queries
  </Card>

  <Card title="API Integration" icon="link">
    Seamless third-party service connections
  </Card>
</Columns>

**Example**:

```html
<Columns cols={3}>
  <Card title="Authentication" icon="lock">
    Secure user management and access control
  </Card>

  <Card title="Data Storage" icon="database">
    Efficient database operations and queries
  </Card>

  <Card title="API Integration" icon="link">
    Seamless third-party service connections
  </Card>
</Columns>
```

## Multi-Content Support

The `Columns` component works with any content type, including code blocks, text, and mixed media:

<Columns cols={2}>
  ```javascript
  // JavaScript example
  const apiClient = {
    baseURL: 'https://api.example.com',
    authenticate: async (token) => {
      return await fetch(`${this.baseURL}/auth`, {
        headers: { 'Authorization': `Bearer ${token}` }
      });
    }
  };
  ```


<Frame caption="APIGIT - native git based API platform">
![apigit](https://static.apigit.com/apigit.svg)
</Frame>

</Columns>

**Example**:

````html
<Columns cols={2}>
  ```javascript
  // JavaScript example
  const apiClient = {
    baseURL: 'https://api.example.com',
    authenticate: async (token) => {
      return await fetch(`${this.baseURL}/auth`, {
        headers: { 'Authorization': `Bearer ${token}` }
      });
    }
  };
  ```


<Frame caption="APIGIT - native git based API platform">
![apigit](https://static.apigit.com/apigit.svg)
</Frame>

</Columns>
````



## Properties

<Field name="cols" default={2}>
  Defines the number of columns in the grid (supports 1-4 columns)
</Field>

