
Security News
Federal Government Rescinds Software Supply Chain Mandates, Makes SBOMs Optional
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.
@react-querybuilder/bootstrap
Advanced tools
Official react-querybuilder components for Bootstrap.
To see them in action, check out the react-querybuilder demo or load the example in CodeSandbox.
npm i --save react-querybuilder @react-querybuilder/bootstrap bootstrap bootstrap-icons
# OR
yarn add react-querybuilder @react-querybuilder/bootstrap bootstrap bootstrap-icons
To render Bootstrap-compatible components in the query builder, wrap the <QueryBuilder /> element in <QueryBuilderBootstrap />.
import { QueryBuilderBootstrap } from '@react-querybuilder/bootstrap';
import 'bootstrap-icons/font/bootstrap-icons.scss';
import 'bootstrap/scss/bootstrap.scss';
import { QueryBuilder, RuleGroupType } from 'react-querybuilder';
const fields = [
{ name: 'firstName', label: 'First Name' },
{ name: 'lastName', label: 'Last Name' },
];
const App = () => {
const [query, setQuery] = useState<RuleGroupType>({ combinator: 'and', rules: [] });
return (
<QueryBuilderBootstrap>
<QueryBuilder fields={fields} query={query} onQueryChange={q => setQuery(q)} />
</QueryBuilderBootstrap>
);
};
Some additional styling may be necessary, e.g.:
.queryBuilder .form-control,
.queryBuilder .form-select {
display: inline-block;
width: auto;
}
This package exports bootstrapControlClassnames and bootstrapControlElements which can be assigned directly to the controlClassnames and controlElements props, respectively, on <QueryBuilder /> (each component is also exported individually). However, the recommended usage is to wrap a <QueryBuilder /> element in <QueryBuilderBootstrap />.
FAQs
Custom Bootstrap components for react-querybuilder
The npm package @react-querybuilder/bootstrap receives a total of 929 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
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.