Component packs › Tabula › Filter Builder

Filter Builder

Filters read as sentences ("Where Status is Paid and Amount is more than 100") and the table filters live as rows leave and close up.

Filter Builder is a filters from Tabula, a component pack with 8 components: Data table components where rows move to their new places. Price: $2 for the whole pack.

Built with: rule sentences, live filtering, rolling count.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Filter Builder props

PropTypeDefaultDescription
rowsTabulaRow[]
rulesFilterRule[]
onChange(rules: FilterRule[]) => void
theme'dark' | 'light'
autoplaybooleanShowcase mode: adds and removes rules until touched.

Methods on the ref

Use it in React

import FilterBuilder from './FilterBuilder';

<FilterBuilder />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Tabula

Good for: Data tables.