# circular-slider-react

> React Circular Slider Component to render full & half circular slider with differnet custom properties

Latest version **1.0.6** (published 2019-10-10) · ISC license · 0 weekly downloads

## Install

```sh
npm install circular-slider-react
pnpm add circular-slider-react
yarn add circular-slider-react
bun add circular-slider-react
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2019-10-10 |
| First published | 2019-10-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 22.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Kavita Sharma |
| Maintainers | kavita14 |
| Keywords | react, cirular, slider, circular, slider, for, react, half, circle, slider, full, circle, slider |

## Links

- npm: https://www.npmjs.com/package/circular-slider-react
- Repository: https://github.com/kavita14/circular-slider-react
- Homepage: https://github.com/kavita14/circular-slider-react#readme
- Issues: https://github.com/kavita14/circular-slider-react/issues
- npm.io page: https://npm.io/package/circular-slider-react

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^16.10.2
- [webpack](https://npm.io/package/webpack.md) ^4.41.0
- [react-autobind](https://npm.io/package/react-autobind.md) ^1.0.6

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2019-10-10
- 1.0.5 — 2019-10-10
- 1.0.4 — 2019-10-10
- 1.0.3 — 2019-10-10
- 1.0.2 — 2019-10-10
- 1.0.1 — 2019-10-09
- 1.0.0 — 2019-10-09

## README

## React Circular Slider Component

### Installation

`npm install --save circular-slider-react`

### How To Use

First import this component where you want to use it

`import ReactCircularSlider from "circular-slider-react"`

Then just renders it

`<ReactCircularSlider />`

### Props

| _Prop_ |     _Description_     | _Default value_ |
| ------ | :-------------------: | :-------------: |
| circleColor  | Sets background color |      black       |
| knobColor  |      Sets knob color       |       blue       |
| radius |      Sets circle radius      |       100       |
| halfCircle   |    Sets if circle is half or not    |  false   |
| min   |    Sets min value    |  0   |
| max   |    Sets max value    |  100   |
| stepSize   |    Sets step size    |  1   |
| value   |    Sets initial value   |  0   |
| onChange   |    callback function on value change   |  null   |

### Example

```
import React, { Component } from "react";
import ReactCircularSlider from "circular-slider-react";

class App extends Component {
  render() {
    return (
        <ReactCircularSlider size={500} circleColor="black" value={10} stepSize={2} />
    );
  }
}

export default App;
```

---
_Source: https://npm.io/package/circular-slider-react · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
