examples

Linear-style filter bar

No nested groups, no field/operator/value rows: just chips. Built directly on useGroup and useRule, which shows the headless hooks don't dictate a layout. Click the operator or values in a chip to change them.
  • product
  • useGroup
  • useRule
  • headless

Add it to your project

One command installs this example with every file and coss ui component it needs, into components/qnot. The code is yours to change; it's MIT. See Install with shadcn.

pnpm dlx shadcn@latest add https://coss.com/qnot/r/linear-filters.json

Source

2 files, exactly what installs