react-filter-build
v0.0.1
Published
A schema-driven, dataset-agnostic Filter Builder UI for React
Maintainers
Readme
react-filter-build
A schema-driven, dataset-agnostic Filter Builder UI component for React.
Installation
npm install react-filter-buildor
yarn add react-filter-buildor
pnpm add react-filter-buildPeer Dependencies
This package requires React 17.0.0 or higher:
npm install react react-domUsage
Import the component and the CSS file:
import { ReactFilterBuild } from 'react-filter-build'
import 'react-filter-build/styles.css'
function App() {
return <ReactFilterBuild />
}Note: The CSS file must be imported separately. The package uses Tailwind CSS internally, but it's compiled to regular CSS at build time, so you don't need to install Tailwind CSS in your project.
Development
To run the example app locally:
npm run devTo build the library:
npm run buildLicense
MIT
