# react-native-scrollview-carousel

> React Native ScrollView Carousel with support for iOS and Android.

Latest version **2.1.0** (published 2020-08-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-scrollview-carousel
pnpm add react-native-scrollview-carousel
yarn add react-native-scrollview-carousel
bun add react-native-scrollview-carousel
```

## 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.1.0 |
| Published | 2020-08-08 |
| First published | 2020-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Simon Holland Flarup |
| Maintainers | simonflarup |
| Keywords | react, native, carousel, scrollview, ios, android |

## Links

- npm: https://www.npmjs.com/package/react-native-scrollview-carousel
- Repository: https://github.com/SimonFlarup/react-native-carousel
- Homepage: https://github.com/SimonFlarup/react-native-carousel.git#readme
- Issues: https://github.com/SimonFlarup/react-native-carousel.git/issues
- npm.io page: https://npm.io/package/react-native-scrollview-carousel

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

- 2.1.0 (latest) — 2020-08-08
- 2.0.1 — 2020-08-04
- 2.0.0 — 2020-08-04
- 1.0.0 — 2020-07-16

## README

# React Native Scrollview Carousel

React Native Carousel with support for both iOS and Android.

## Installation

```
npm install react-native-scrollview-carousel --save
```

## Usage

```
import Carousel from "react-native-scrollview-carousel";
//...
<Carousel>
    <Text>Hello</Text>
    <Text>World!</Text>
    <Text>From carousel</Text>
</Carousel>
```

### pageStyle

Type: `PropTypes.object`

The style that will be applied on the page. For example:

```
<Carousel pageStyle={ {backgroundColor: "white", borderRadius: 5} }>
```

### initialPage

Type: `PropTypes.number`

The index of the initial page. The first page is `0`.

### onPageChange
! TBA !

Type: `PropTypes.func`

This function will be called every time the page changes.

### sneak

Type: `PropTypes.number`

How much of the adjacent pages will display.

## License

The MIT License (MIT)

Copyright (c) 2020 Simon Holland Flarup <mail@simonflarup.dk>.

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