Filters help customers narrow collection and search results faster. In Slab, filter behavior is controlled by the Filter block, which can run in inline mode (button/dropdown style) or stacked mode (accordion style).
| Setting | What it controls | Default |
|---|---|---|
| Enable filters | Shows or hides filter groups. | On |
| Enable sorting | Shows or hides sort options. | On |
| Container layout | Overall filter UI mode: stacked or inline. | Stacked |
| Horizontal alignment | Aligns inline filter buttons. | Left |
| Filter limit | Maximum visible values before showing additional options. | 10 |
| Items layout | How filter values display in each group (stacked or grid). | Stacked |
| Row desktop / Row mobile | Grid columns for filter values when grid layout is used. | 2 / 1 |
| Show filter count | Shows item counts next to filter values. | On |
| Show filter swatches | Shows swatch-style values when available. | On |
| Swatch size | Size of filter swatches. | 16 px |
| Open filters | Comma-separated filter labels to keep pre-opened in stacked mode. | Empty |
Start by connecting your source repository and choosing the pages you want to publish.
You can then browse your documentation and ask questions about the content your team has shared.