react-awesome-query-builder
by ukrbublik
User-friendly query builder for React
AI summary
Query builder
A user-friendly React component for building complex queries with filter functionality
- stars
- 2K
- forks
- 503
- watching
- 32
- awesome list
- 1
- entries
- 27
What's in the list
27 links in 5 sections, with live GitHub stats.activeno commit in 2y
Features
- JsonLogic
Export to MongoDb, SQL, , , ElasticSearch or your custom format
- JsonLogic
Import from ,
- Ant Design
Themes: , , , , vanilla It is possible to use another UI framework of your choice, see
- types
TypeScript support (see and )
Getting started
- @react-awesome-query-builder/core
has core functionality to import/export/store query, provides utils
- @react-awesome-query-builder/ui
has core React components like and CSS, provides config with basic (vanilla) widgets
- @react-awesome-query-builder/antd
provides config with widgets
- @react-awesome-query-builder/mui
provides config with widgets
- @react-awesome-query-builder/material
provides config with widgets (deprecated)
- @react-awesome-query-builder/bootstrap
provides config with widgets
- @react-awesome-query-builder/fluent
provides config with widgets
Demo apps
- pnpm start
demo app with hot reload of demo code and local library code, uses TS, uses complex config to demonstrate anvanced usage, uses all supported UI frameworks
- pnpm sandbox-ts
simple demo app, built with Vite, uses TS, uses MUI widgets
- pnpm sandbox-js
simplest demo app, built with Vite, not uses TS, uses vanilla widgets
- pnpm sandbox-next
advanced demo app with server side, built with Next.js, uses TS, uses MUI widgets, has API to save/load query value and query config from storage
<Query />
- CONFIG
destructured
- Immutable
query value in internal format
- index.d.ts
callback called when query value changes. Params: (in Immutable format), , (details about action which led to the change, see in ), (you can use to run actions programmatically, see in )
Material-UI
If you put query builder component inside 's or , please:
- Fluent-UI
If you put query builder component inside 's , please:
- index.d.ts
For a list of available actions see interface in . See in as a demonstration of calling actions programmatically
Versions / Migration to 6.0.0
- @react-awesome-query-builder/material
(deprecated)
Nothing in this list matches your filter.
Featured in 1 awesome list
Each link jumps to the spot where the list mentions react-awesome-query-builder.