# @alexcasche/react-carousel

> React Carousel Component

Latest version **0.0.7** (published 2018-04-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @alexcasche/react-carousel
pnpm add @alexcasche/react-carousel
yarn add @alexcasche/react-carousel
bun add @alexcasche/react-carousel
```

## 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.0.7 |
| Published | 2018-04-27 |
| First published | 2018-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 22.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Asche |
| Maintainers | alexcasche |
| Keywords | react, carousel, slider |

## Links

- npm: https://www.npmjs.com/package/@alexcasche/react-carousel
- Repository: https://github.com/acasche/react-js-carousel
- Issues: https://github.com/acasche/react-js-carousel/issues
- npm.io page: https://npm.io/package/@alexcasche/react-carousel

## Dependencies (5)

- [npm](https://npm.io/package/npm.md) ^6.0.0
- [react](https://npm.io/package/react.md) ^16.3.2
- [react-dom](https://npm.io/package/react-dom.md) ^16.3.2
- [classnames](https://npm.io/package/classnames.md) ^2.2.5
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.1

## 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.0.7 (latest) — 2018-04-27
- 0.0.6 — 2018-04-26
- 0.0.5 — 2018-04-26
- 0.0.4 — 2018-04-26
- 0.0.3 — 2018-04-26
- 0.0.2 — 2018-04-26
- 0.0.1 — 2018-04-26
- 0.0.0 — 2018-04-26
- 1.0.0 — 2018-04-19

## README

### react-js-carousel

##### React Carousel Component.

## Getting Started

### Installation

**npm**

```bash
npm install @alexcasche/react-carousel
```

**yarn**

```bash
yarn install @alexcasche/react-carousel
```

### Props

| Name         | Type    | Default | Description |
| ------------ | ------- | ------- | ----------- |
| orientation | string | `horizontal` | Set carousel direction (horizontal or vertical). |
| effect | string | `slide` | Set carousel effect (slide or fade). |
| speed | number | `350` | Set carousel transition speed (unit milliseconds). |
| wrap | boolean | `true` | Set carousel wrap. |
| showControls | boolean | `true` | Set carousel control visiblility. |
| showIndicators | boolean | `true` | Set carousel indicators visiblility. |

### Example

````js
import React, { Component } from 'react';
import Carousel from 'react-carousel';
import 'react-carousel/style.css';

class SimpleExmample extends Component {
  render() {
    var options = {
      speed: 400,
      wrap: false,
      showIndicators: false
    };
    return (
      <Carousel {...options} >
        <div>First Slide</div>
        <div>Second Slide</div>
      </Carousel>
    )
  }
}
`````

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