# react-slide

> React Slider

Latest version **0.3.0** (published 2016-01-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-slide
pnpm add react-slide
yarn add react-slide
bun add react-slide
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2016-01-22 |
| First published | 2014-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ZippyUI |
| Maintainers | radubrehar, zippyui |
| Keywords | slider, slide, slider, field, react-component, react |

## Links

- npm: https://www.npmjs.com/package/react-slide
- Repository: https://github.com/zippyui/react-slide
- Issues: https://github.com/zippyui/react-slide/issues
- npm.io page: https://npm.io/package/react-slide

## Dependencies (5)

- [region](https://npm.io/package/region.md) ^2.1.2
- [drag-helper](https://npm.io/package/drag-helper.md) ^1.2.3
- [object-assign](https://npm.io/package/object-assign.md) ^4.0.1
- [react-event-names](https://npm.io/package/react-event-names.md) ^1.0.0
- [react-style-normalizer](https://npm.io/package/react-style-normalizer.md) ^1.0.2

## 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

- 0.3.0 (latest) — 2016-01-22
- 0.2.2 — 2015-11-03
- 0.2.1 — 2015-10-26
- 0.2.0 — 2015-10-16
- 0.1.0 — 2014-12-09

## README

react-slide
===========

React Slider

## Example

```jsx
var VALUE = 45
function onChange(newValue){
  //...
}

<Slider
  startValue={0}
  endValue={100}
  value={VALUE}
  onChange={onChange}
/>

<Slider
  orientation="vertical"
  startValue={-10}
  endValue={-10}
  value={5}
  tickStep={5}
  handleSize={20}
/>
```


## Properties

 * value - for controlled behaviour
 * defaultValue - for uncontrolled behaviour
 * orientation: String - either 'horizontal' or 'vertical'. Defaults to horizontal
 * onChange: Function(value)
 * onDrag: Function(value)
 * step: Number - defaults to 1
 * startValue: Number - defaults to 0
 * endValue: Number - defaults to 100
 * tickStep: Number
 * ticks: Number[]
 * tickWidth: Number
 * tickFactory: Function
 * tickColor: String
 * trackRadius: Number
 * trackFillStyle
 * handleFactory
 * handleStyle
 * handleWidth
 * handleHeight
 * handleSize

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