react-filters

A collection of filters made in React

Usage no npm install needed!

<script type="module">
  import reactFilters from 'https://cdn.skypack.dev/react-filters';
</script>

README

Build Status npm Codecov Twitter

A collection of Components like autocomplete, radio, checkbox, slider etc. written in React.

Installation

npm install --save react-filters

Basic Usage

import the component you need to use.

import { Slider, Toggle } from 'react-filters/dist';

If you don't want to use all the components and are concerned about file size, you can just import the component you need.

import Slider from 'react-filters/dist/Slider';
import Toggle from 'react-filters/dist/Toggle';

Components

Click on the component name to go to their documentation.

Development

  1. Clone the repo
  2. Create a new branch.
  3. Run npm install && npm run storybook
  4. You can find the server running at localhost:9002
  5. Add feature or fix bug. Add tests if required.
  6. if commit fails make sure that there's no linting error or failed test by running npm run test && npm run lint

License

MIT @ Ritesh Kumar