Installations
npm install @react-querybuilder/material
Developer Guide
Typescript
Yes
Module System
CommonJS, ESM
Node Version
20.18.0
NPM Version
lerna/3.10.0/node@v20.18.0+x64 (linux)
Releases
Contributors
Languages
TypeScript (57.4%)
MDX (31.2%)
SCSS (8.74%)
Yacc (1.27%)
JavaScript (0.85%)
CSS (0.22%)
HTML (0.15%)
Go (0.14%)
Shell (0.03%)
Developer
Download Statistics
Total Downloads
512,818
Last Day
802
Last Week
11,169
Last Month
49,306
Last Year
357,888
GitHub Statistics
1,357 Stars
3,157 Commits
274 Forks
11 Watching
21 Branches
41 Contributors
Package Meta Information
Latest Version
8.0.0
Package Id
@react-querybuilder/material@8.0.0
Unpacked Size
692.99 kB
Size
116.65 kB
File Count
42
NPM Version
lerna/3.10.0/node@v20.18.0+x64 (linux)
Node Version
20.18.0
Publised On
08 Nov 2024
Total Downloads
Cumulative downloads
Total Downloads
512,818
Last day
-70.6%
802
Compared to previous day
Last week
-19.7%
11,169
Compared to previous week
Last month
27.5%
49,306
Compared to previous month
Last year
159.8%
357,888
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Peer Dependencies
6
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:
1import { QueryBuilder } from 'react-querybuilder'; 2import 'react-querybuilder/dist/query-builder.css'; // or .scss 3 4export function App() { 5 const [query, setQuery] = useState({ 6 combinator: 'and', 7 rules: [], 8 }); 9 10 return <QueryBuilder defaultQuery={query} onQueryChange={setQuery} />; 11}
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, use the @react-querybuilder/dnd
package.
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, Fluent UI, Mantine, MUI, and Tremor. A React Native component is also available.
Development
See the contribution guidelines.
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!
No vulnerabilities found.
Reason
30 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Info: FSF or OSI recognized license: MIT License: LICENSE.md:0
Reason
0 existing vulnerabilities detected
Reason
SAST tool detected but not run on all commits
Details
- Info: SAST configuration detected: CodeQL
- Warn: 15 commits out of 21 are checked with a SAST tool
Reason
Found 1/12 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:13
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:14
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/publish.yml:23
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/version.yml:36
- Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Warn: no topLevel permission defined: .github/workflows/prettier.yml:1
- Warn: no topLevel permission defined: .github/workflows/publish.yml:1
- Warn: no topLevel permission defined: .github/workflows/version.yml:1
- Warn: no topLevel permission defined: .github/workflows/website.yml:1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/codeql-analysis.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/main.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/main.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/main.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/main.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/main.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/main.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/main.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/main.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/main.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/prettier.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/prettier.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/prettier.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/prettier.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/publish.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/publish.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/publish.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version.yml:38: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/version.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/version.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/version.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/version.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/website.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/website.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/website.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/website.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/website.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/website.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/website.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/react-querybuilder/react-querybuilder/website.yml/main?enable=pin
- Warn: npmCommand not pinned by hash: .codesandbox/ci.sh:12
- Info: 0 out of 15 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 9 third-party GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
5.4
/10
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to @react-querybuilder/material
@cjmaio/react-querybuilder-material
Custom MUI (Material Design) components for react-querybuilder
react-material-querybuilder
The React Material <QueryBuilder /> component for constructing queries
react-querybuilder-material-ui
The React <QueryBuilder /> component for constructing queries (using Material UI Components)