- v7.7.1Latest
- v7.7.1-rc.1
- v7.7.1-rc.0
- v7.7.0
- v7.7.0-alpha.8
- v7.7.0-alpha.7
- v7.7.0-alpha.6
- v7.7.0-alpha.5
- v7.7.0-alpha.4
- v7.7.0-alpha.3
- v7.7.0-alpha.2
- v7.7.0-alpha.1
- v7.8.0-alpha.0
- v7.7.0-alpha.0
- v7.6.1
- v7.6.0
- v7.5.2
- v7.5.1
- v7.5.0
- v7.4.4
- v7.4.3
- v7.4.2
- v7.4.1
- v7.4.0
- v7.3.0
- v7.2.1
- v7.2.0
- v7.1.0
- v7.0.2
- v7.0.1
- v7.0.0
- v7.0.0-rc.1
- v7.0.0-rc.0
- v7.0.0-beta.5
- v7.0.0-beta.5
- v7.0.0-beta.4
- v7.0.0-beta.3
- v7.0.0-beta.2
- v7.0.0-beta.1
- v7.0.0-beta.0
- v7.0.0-alpha.7
- v7.0.0-alpha.6
- v6.5.5
- v7.0.0-alpha.5
- v7.0.0-alpha.4
- v7.0.0-alpha.3
- v7.0.0-alpha.2
- v6.5.4
- v7.0.0-alpha.1
- v7.0.0-alpha.0
- v7.0.0-alpha.0
- v6.5.3
- v6.5.2
- v6.6.0-alpha.0
- v6.5.1
- v6.5.0
- v6.4.1
- v6.4.0
- v6.3.0
- v6.3.0
- v6.3.0-alpha.1
- v6.3.0-alpha.0
- v6.3.0-alpha.0
- v6.2.0
- v6.2.0-alpha.3
- v6.2.0-alpha.2
- v6.2.0-alpha.1
- v6.2.0-alpha.1
- v6.2.0-alpha.0
- v6.2.0-alpha.0
- v6.1.4
- v6.1.3
- v6.1.3
- v6.1.2
- v6.1.2
- v6.1.1
- v6.1.0
- v6.0.7
- v6.0.6
- v6.0.5
- v6.0.4
- v6.0.3
- v6.0.3
- v6.0.3-alpha.0
- v6.0.2
- v6.0.1
- v6.0.0
- v6.0.0-rc.0
- v6.0.0-alpha.5
- v6.0.0-alpha.4
- v6.0.0-alpha.3
- v6.0.0-alpha.2
- v6.0.0-alpha.0
- v5.4.0
- v5.3.3
- v5.3.2
- v5.3.1
- v5.3.0
- v5.2.0
- v5.1.3
- v5.1.2
- v5.1.1
- v5.1.0
- v5.0.0
- v5.0.0-alpha.9
- v5.0.0-alpha.7
- v5.0.0-alpha.8
- v4.5.3
- v5.0.0-alpha.6
- v5.0.0-alpha.5
- v5.0.0-alpha.4
- v5.0.0-alpha.3
- v5.0.0-alpha.2
- v5.0.0-alpha.1
- v5.0.0-alpha.0
- v4.5.2
- v4.5.1
- v4.5.0
- v4.4.1
- v4.4.0
- v4.3.1
- v4.3.0
- v4.2.5
- v4.2.4
- v4.2.3
- v4.2.2
- v4.2.2
- v4.2.1
- v4.2.0
- v4.1.3
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.0
- v4.0.0-beta.8
- v4.0.0-beta.7
- v4.0.0-beta.6
- v4.0.0-beta.5
- v4.0.0-beta.4
- v4.0.0-beta.3
- v4.0.0-beta.2
- vv4.0.0-beta.2
- v4.0.0-beta.1
- v3.12.1
- v3.12.0
- v3.11.1
- v3.11.0
- v3.10.1
- v3.10.0
- v3.9.9
React Query Builder
React Query Builder is a fully customizable query builder component for React, along with a collection of utility functions for importing from, and exporting to, various query languages like SQL, MongoDB, and more. Demo is here.
Complete documentation is available at react-querybuilder.js.org.
Getting started
To get started, import the main component and the default stylesheet, then render the component in your app:
import { QueryBuilder } from 'react-querybuilder';
import 'react-querybuilder/dist/query-builder.css';
export const App = () => {
return <QueryBuilder />;
};
For a more complete introduction, see the main package README, dive into the full documentation, or browse the example projects.
To enable drag-and-drop functionality, see the @react-querybuilder/dnd
package README.
For instructions on migrating from earlier versions of react-querybuilder
, click here.
Compatibility packages
In addition to the main react-querybuilder
package, this repo also hosts official compatibility component packages for use with several popular style libraries including Ant Design, Bootstrap, Bulma, Chakra UI, and MUI.
Development
To run a test page with a basic query builder using the default components, run yarn start
.
To run the documentation website, run yarn website:start
. Click βDemoβ in the page header to load the full demo with all options and compatibility components available.
Credits
This component was inspired by prior work from:
Contributors β¨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!