---
title: Columns
---

# Columns

<div class="documentation__toc"></div>

## Introduction

Table columns are the basic building block of the table.

```php
protected $columns = [
    'title',
    'category',
    'description',
];
```

```twig
{{ table('posts').setColumns([
     'title',
     'category',
     'description',
 ]).render()|raw
```
