Skip to content

How to apply styling? #203

Discussion options

You must be logged in to vote

There are no "themes" as such for this library, however it does use CSS class names that can be leveraged to style the components. For example, the outer-most div has a class of "queryBuilder", and each group div has a class of "ruleGroup". The fields lists, operators, values, and other components all have their own classes.

Additionally, the demo code has examples of different styling libraries being used in conjunction with this library. Please note that with some of them you have to use custom components (see here).

UPDATE 2022:

React Query Builder now has officially supported component packages compatible with several popular style libraries:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jakeboone02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants