
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@react-querybuilder/bootstrap
Advanced tools
Official Bootstrap components for react-querybuilder.
To see them in action, check out the react-querybuilder demo and choose "Bootstrap" from the Style drop-down.
npm i --save react-querybuilder @react-querybuilder/bootstrap bootstrap bootstrap-icons
# OR
yarn add react-querybuilder @react-querybuilder/bootstrap bootstrap bootstrap-icons
import QueryBuilder, { RuleGroupType } from 'react-querybuilder';
import {
BootstrapDragHandle,
BootstrapNotToggle,
BootstrapValueEditor
} from '@react-querybuilder/bootstrap';
const fields = [
{ name: 'firstName', label: 'First Name' },
{ name: 'lastName', label: 'Last Name' }
];
const App = () => {
const [query, setQuery] = useState<RuleGroupType>({ combinator: 'and', rules: [] });
return (
<QueryBuilder
fields={fields}
query={query}
onQueryChange={(q) => setQuery(q)}
controlClassnames={{
addGroup: 'btn btn-secondary btn-sm',
addRule: 'btn btn-primary btn-sm',
cloneGroup: 'btn btn-secondary btn-sm',
cloneRule: 'btn btn-secondary btn-sm',
removeGroup: 'btn btn-danger btn-sm',
removeRule: 'btn btn-danger btn-sm',
combinators: 'form-select form-select-sm',
fields: 'form-select form-select-sm',
operators: 'form-select form-select-sm',
value: 'form-control form-control-sm'
}}
controlElements={{
dragHandle: BootstrapDragHandle,
notToggle: BootstrapNotToggle,
valueEditor: BootstrapValueEditor
}}
/>
);
};
To apply the Bootstrap styles, you can add the following SCSS to your app:
@import 'bootstrap/scss/functions';
@import 'bootstrap/scss/variables';
@import 'bootstrap/scss/mixins';
@import 'bootstrap/scss/reboot';
@import 'bootstrap/scss/type';
@import 'bootstrap/scss/forms';
@import 'bootstrap/scss/buttons';
@import 'bootstrap/scss/dropdown';
.form-control,
.form-select {
display: inline-block;
width: auto;
}
FAQs
Custom Bootstrap components for react-querybuilder
The npm package @react-querybuilder/bootstrap receives a total of 977 weekly downloads. As such, @react-querybuilder/bootstrap popularity was classified as not popular.
We found that @react-querybuilder/bootstrap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.