# react-swipr

> a react component for swipr the minimal touch swipe carousel

Latest version **2.0.6** (published 2016-12-20) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2.0.6 |
| Published | 2016-12-20 |
| First published | 2015-04-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Steven Iseki James Z |
| Maintainers | steveniseki |
| Keywords | react, react-component, react-swipr, react swiper, react-swipe, react-slide, react-slider, react slide, react slider, react-carousel, react carousel, swiper, swipe, slider, slide, carousel, touch-slider, touch enabled, minimal, simple slider, minimal slider |

## Links

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

## Dependencies (1)

- [hammerjs](https://npm.io/package/hammerjs.md) ~2.0.4

## Alternatives

- [adhdev](https://npm.io/package/adhdev.md) — 11.1K weekly downloads
- [react-slide-button](https://npm.io/package/react-slide-button.md) — 310 weekly downloads
- [better](https://npm.io/package/better.md) — 42 weekly downloads
- [react-native-swipe-image](https://npm.io/package/react-native-swipe-image.md) — 22 weekly downloads
- [nl.fokkezb.pulltorefresh](https://npm.io/package/nl.fokkezb.pulltorefresh.md) — 11 weekly downloads

## Recent versions

- 2.0.6 (latest) — 2016-12-20
- 2.0.5 — 2016-12-08
- 2.0.4 — 2016-06-24
- 2.0.3 — 2016-06-24
- 2.0.2 — 2015-11-12
- 2.0.1 — 2015-09-29
- 2.0.0 — 2015-07-08
- 1.0.12 — 2015-07-02
- 1.0.11 — 2015-07-02
- 1.0.8 — 2015-06-25
- 1.0.10 — 2015-04-30
- 1.0.9 — 2015-04-30
- 1.0.7 — 2015-04-30
- 1.0.6 — 2015-04-21
- 1.0.5 — 2015-04-21
- … 5 more at https://npm.io/package/react-swipr/versions

## README

# react-swipr

react-swipr is a minimal swiping component for react.

## Installation

`npm install react-swipr --save`

## Usage

```javascript
import Swipr from 'react-swipr'
import ReactDOM from 'react-dom'
import React, { Component, PropTypes } from 'react'

class TestComponent extends Component {
  render () {
    return (
      <div>
        <Swipr elementId="react-swipr-1">
          <li>1</li>
          <li>2</li>
          <li>3</li>
        </Swipr>
      </div>
    )
  }
}

ReactDOM.render( <TestComponent />, document.getElementById('root') )
```

## Styles

react-swipr can be used with your own custom styles. A minimal [swipr.css](https://github.com/StevenIseki/react-swipr/blob/master/example/public/swipr.css) style sheet is included as a guide.

## Development

    npm install
    npm run build
    npm test
    npm start

## License

[MIT](http://isekivacenz.mit-license.org/)

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