# react-native-swipestack

> React-Native Swipeable Card Stack

Latest version **0.2.1** (published 2021-10-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-swipestack
pnpm add react-native-swipestack
yarn add react-native-swipestack
bun add react-native-swipestack
```

## 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.2.1 |
| Published | 2021-10-31 |
| First published | 2021-10-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 420.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Simon Lund |
| Maintainers | simon.lund |
| Keywords | react-native, swipe, card |

## Links

- npm: https://www.npmjs.com/package/react-native-swipestack
- Repository: git@github.com:simon-lund/react-native-swipecard
- Issues: https://github.com/simon-lund/react-native-swipestack/issues
- npm.io page: https://npm.io/package/react-native-swipestack

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

- 0.2.1 (latest) — 2021-10-31
- 0.2.0 — 2021-10-31
- 0.1.2 — 2021-10-31
- 0.1.1 — 2021-10-31
- 0.1.0 — 2021-10-31
- 0.0.1 — 2021-10-31

## README

<p align="center">
    <image src="./docs/logo.png" alt="react-native-swipe-card logo"/>
</p>

<p align="center">
   <a href="https://reactnative.dev">React Native</a> - Swipe Card Stack
</p>


<p align="center">
  <a href="https://www.npmjs.com/package/react-native-swipestack"><img src="https://img.shields.io/npm/v/react-native-swipestack.svg"></a>
  <a href="https://github.com/simon-lund/react-native-swipestack"><img src="https://img.shields.io/github/stars/simon-lund/react-native-swipestack"></a>
  <a href="https://www.npmjs.com/package/react-native-swipestack"><img src="https://img.shields.io/npm/dm/react-native-swipestack.svg"></a>
</p>

<p align="center">
  <a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/styled_with-prettier-ff69b4.svg"></a>
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg"></a>
</p>


**WIP (unstable)**

# React-Native Swipe Card Stack

Package implementing a flexible approach for tinder-like swipe cards.
By exposing the `pan` developers can easily use their choice of animation.

## Demo

Insert gif or link to demo

## Installation

This package requires no additional dependencies
and you can simply install it via the CLI with your package manager of choice.

```bash
  yarn add react-native-swipestack
```

```bash
  npm install react-native-swipestack
```

## Usage/Example

See the example app in the example folder:
[/example](https://github.com/simon-lund/react-native-swipestack/tree/master/example)

## API Reference

#### Get all items

```http
  GET /api/items
```

| Parameter | Type     | Description                |
| :-------- | :------- | :------------------------- |
| `api_key` | `string` | **Required**. Your API key |

#### Get item

```http
  GET /api/items/${id}
```

| Parameter | Type     | Description                       |
| :-------- | :------- | :-------------------------------- |
| `id`      | `string` | **Required**. Id of item to fetch |

#### add(num1, num2)

Takes two numbers and returns the sum.

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