
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
@react-querybuilder/fluent
Advanced tools
Official react-querybuilder compatibility package for Fluent UI.
npm i react-querybuilder @react-querybuilder/fluent @fluentui/react-components @fluentui/react-icons-mdl2
# OR yarn add / pnpm add / bun add
To configure the query builder to use Fluent-compatible components, place QueryBuilderFluent
above QueryBuilder
and beneath FluentProvider
in the component hierarchy.
import { FluentProvider, webLightTheme } from '@fluentui/react-components';
import { QueryBuilderFluent } from '@react-querybuilder/fluent';
import { useState } from 'react';
import { type Field, QueryBuilder, type RuleGroupType } from 'react-querybuilder';
const fields: Field[] = [
{ name: 'firstName', label: 'First Name' },
{ name: 'lastName', label: 'Last Name' },
];
export function App() {
const [query, setQuery] = useState<RuleGroupType>({ combinator: 'and', rules: [] });
return (
<FluentProvider theme={webLightTheme}>
<QueryBuilderFluent>
<QueryBuilder fields={fields} defaultQuery={query} onQueryChange={setQuery} />
</QueryBuilderFluent>
</FluentProvider>
);
}
QueryBuilderFluent
is a React context provider that assigns the following props to all descendant QueryBuilder
elements. The props can be overridden on the QueryBuilder
or used directly without the context provider.
Export | QueryBuilder prop |
---|---|
fluentControlElements | controlElements |
fluentTranslations | translations |
FluentActionElement | controlElements.actionElement |
FluentDragHandle | controlElements.dragHandle |
FluentNotToggle | controlElements.notToggle |
FluentShiftActions | controlElements.shiftActions |
FluentValueEditor | controlElements.valueEditor |
FluentValueSelector | controlElements.valueSelector |
[!TIP]
By default, this package uses icons from
@fluentui/react-icons-mdl2
for button labels. To reset button labels to their default strings, usedefaultTranslations
fromreact-querybuilder
.
<QueryBuilderFluent translations={defaultTranslations}>
[v8.1.0] - 2025-01-09
@react-querybuilder/datetime
package with enhanced functionality for managing date/time data. Includes rule/value processors for formatQuery
tailored to different database platforms and date/time libraries.formatQuery
will assume a format of "sql" if no format is provided as long as preset
matches one of the supported values.formatQuery
option wrapValueWith
, an array of two strings to act as a prefix and suffix for values (outside of any quotes).formatQuery
value processors now accept an optional context
parameter, which can be used to pass additional information to the processor.JSON.stringify
d version. The "mongodb" format is deprecated, but will not be removed.query-builder.scss
now uses @use
instead of the deprecated @import
.FAQs
Custom Fluent UI components for react-querybuilder
The npm package @react-querybuilder/fluent receives a total of 218 weekly downloads. As such, @react-querybuilder/fluent popularity was classified as not popular.
We found that @react-querybuilder/fluent 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
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.