---
title: Filters
---

# Filters

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

## Introduction

Table `filters` let you easily define inputs that filter the results of the table.

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

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