# react-slick

> React port of slick carousel

Latest version **0.31.0** (published 2025-08-07) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 38/100 (D)** — status: maintenance-mode.

Positive: has types package; no vulnerabilities; high quality score; popular repo.

Warnings: low downloads; no esm support; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.31.0 |
| Published | 2025-08-07 |
| First published | 2014-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/react-slick) |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 756.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11918 |
| Author | Kiran Abburi |
| Maintainers | akiran |
| Keywords | slick, carousel, Image slider, orbit, slider, react-component |

## Links

- npm: https://www.npmjs.com/package/react-slick
- Repository: https://github.com/akiran/react-slick
- Homepage: https://react-slick.neostack.com
- Issues: https://github.com/akiran/react-slick/issues
- npm.io page: https://npm.io/package/react-slick

## Dependencies (4)

- [json2mq](https://npm.io/package/json2mq.md) ^0.2.0
- [classnames](https://npm.io/package/classnames.md) ^2.2.5
- [lodash.debounce](https://npm.io/package/lodash.debounce.md) ^4.0.8
- [resize-observer-polyfill](https://npm.io/package/resize-observer-polyfill.md) ^1.5.0

## 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.31.0 (latest) — 2025-08-07
- 0.27.2-beta-0 (beta) — 2020-07-31
- 0.30.3 — 2024-12-17
- 0.30.2 — 2024-02-17
- 0.30.1 — 2024-01-26
- 0.30.0 — 2024-01-25
- 0.29.0 — 2022-04-17
- 0.28.1 — 2021-03-08
- 0.28.0 — 2021-01-25
- 0.27.14 — 2021-01-11
- 0.27.13 — 2020-11-06
- 0.27.12 — 2020-10-19
- 0.27.11 — 2020-09-06
- 0.27.10 — 2020-08-20
- 0.27.9 — 2020-08-16
- … 105 more at https://npm.io/package/react-slick/versions

## README

### react-slick

[![Backers on Open Collective](https://opencollective.com/react-slick/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-slick/sponsors/badge.svg)](#sponsors)

##### Carousel component built with React. It is a react port of [slick carousel](http://kenwheeler.github.io/slick/)

## [Documentation](http://react-slick.neostack.com)

### Installation

**npm**

```bash
npm install react-slick --save
```

**yarn**

```bash
yarn add react-slick
```

**Also install slick-carousel for css and font**

```bash
npm install slick-carousel

// Import css files
import "slick-carousel/slick/slick.css";
import "slick-carousel/slick/slick-theme.css";
```

or add cdn link in your html

```html
<link
  rel="stylesheet"
  type="text/css"
  charset="UTF-8"
  href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css"
/>
<link
  rel="stylesheet"
  type="text/css"
  href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css"
/>
```

### [PlayGround](https://stackblitz.com/edit/vitejs-vite-ownrun?file=src%2FImageSlider.jsx)

### Example

```js
import React from "react";
import Slider from "react-slick";

export default function SimpleSlider() {
  var settings = {
    dots: true,
    infinite: true,
    speed: 500,
    slidesToShow: 1,
    slidesToScroll: 1
  };
  return (
    <Slider {...settings}>
      <div>
        <h3>1</h3>
      </div>
      <div>
        <h3>2</h3>
      </div>
      <div>
        <h3>3</h3>
      </div>
      <div>
        <h3>4</h3>
      </div>
      <div>
        <h3>5</h3>
      </div>
      <div>
        <h3>6</h3>
      </div>
    </Slider>
  );
}
```

### Props

For all available props, go [here](https://react-slick.neostack.com/docs/api/).

### Methods

For all available methods, go [here](https://react-slick.neostack.com/docs/api#methods)

### Development

Want to run demos locally

```bash
git clone https://github.com/akiran/react-slick
cd react-slick
npm install
npm start
open http://localhost:8080
```

## Community

Join our [discord channel](https://discord.gg/z7stRE4Cyb) to discuss react-slick bugs and ask for help

## Contributing

Please see the [contributing guidelines](./CONTRIBUTING.md)

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