A schema-driven, dataset-agnostic Filter Builder UI for React
npm install react-filter-buildA schema-driven, dataset-agnostic Filter Builder UI component for React.
``bash`
npm install react-filter-build
or
`bash`
yarn add react-filter-build
or
`bash`
pnpm add react-filter-build
This package requires React 17.0.0 or higher:
`bash`
npm install react react-dom
Import the component and the CSS file:
`tsx
import { ReactFilterBuild } from 'react-filter-build'
import 'react-filter-build/styles.css'
function App() {
return
}
`
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.
To run the example app locally:
`bash`
npm run dev
To build the library:
`bash``
npm run build
MIT