---
title: "QueryBuilder Playground | Visual Filter Builder from Zod Schemas | Suriyaprakash Somu"
description: "Interactive QueryBuilder demo with Zod-derived filter fields, quick chip filters, nested AND/OR groups, and live filtering over seeded records."
canonical: "https://www.suriyaprakash.in/playground/querybuilder"
---

# QueryBuilder Playground

This page demonstrates a schema-driven React QueryBuilder that turns Zod schemas into typed filter controls and evaluates each change live against seeded data.

## Capabilities

- Zod schemas mapped to typed filter fields
- Quick chip filters for simple queries
- Advanced nested AND/OR condition groups
- Type-aware operators for text, numbers, booleans, selects, and dates
- Employee and product demo schemas
- Live filtering over 300 deterministic records
- Results table with match count and percentage
- JSON payload preview compatible with the DataTable filter contract

## Filter Contract

The builder emits a JSON payload containing search text, top-level logic, and filter conditions. Conditions can be composed into nested groups up to two levels deep and evaluated by the same contract used by the DataTable demo.

## Technologies

- React
- TypeScript
- Zod
- Seeded demo data
- Schema-driven filtering

## Related Demos

- [React DataTable Demo](https://www.suriyaprakash.in/playground/datatable)
- [React SchemaForm Builder](https://www.suriyaprakash.in/playground/schemaform)
