# responsive-carousel-react

> responsive carousel

Latest version **0.3.1** (published 2022-10-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install responsive-carousel-react
pnpm add responsive-carousel-react
yarn add responsive-carousel-react
bun add responsive-carousel-react
```

## 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.1 |
| Published | 2022-10-01 |
| First published | 2022-09-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | inbar danieli |
| Maintainers | inbardanieli |
| Keywords | carousel, react, responsive, react-component, touch, swipe, gallery |

## Links

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

## 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.1 (latest) — 2022-10-01
- 0.3.0 — 2022-10-01
- 0.2.4 — 2022-10-01
- 0.2.3 — 2022-10-01
- 0.2.2 — 2022-10-01
- 0.2.1 — 2022-09-30
- 0.2.0 — 2022-09-30
- 0.1.2 — 2022-09-22
- 0.1.1 — 2022-09-22
- 0.1.0 — 2022-09-22

## README

# responsive-carousel-react

Simple react carousel with mouse and touch support

## Install

```bash
npm install responsive-carousel-react
```

## Usage

```js
import { Carousel } from "responsive-carousel-react";
```

### Example

```js
import { Carousel } from "responsive-carousel-react";

function Example() {
  return (
    <Carousel>
      <div>item 1</div>
      <div>item 2</div>
      <div>item 3</div>
      <div>item 4</div>
      <div>item 5</div>
      <div>item 6</div>
    </Carousel>
  );
}
```

## API

| Property             | Type            | Default | Description                                                       |
| -------------------- | --------------- | ------- | ----------------------------------------------------------------- |
| maxGapItems          | number          | 24      | the maximum gap between each item in the carousel                 |
| minGapItems          | number          | 8       | the minimum gap between each item in the carousel                 |
| paddingBodyContainer | number          | 60      | the padding between the carousel container and the carousel items |
| swipeSensativity     | number          | 50      | the minimum finger travel to register as a swipe                  |
| title                | string          | ""      | the title of the carousel                                         |
| children             | react component | null    | the items that will be displayed in the carousel                  |
| carouselStyle        | object          | null    | styling for the carousel component                                |
| titleStyle           | object          | null    | styling for the carousel title                                    |

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