Need help with react-slick?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

akiran
9.0K Stars 1.8K Forks MIT License 1.2K Commits 317 Opened issues

Description

React carousel component

Services available

!
?

Need anything else?

Contributors list

No Data

react-slick

Backers on Open Collective Sponsors on Open Collective Join the chat at https://gitter.im/akiran/react-slick

Carousel component built with React. It is a react port of slick carousel

Documentation

Installation

npm

npm install react-slick --save

yarn

yarn add react-slick

Also install slick-carousel for css and font

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


PlayGround

Example

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 (

1

2

3

4

5

6

); }

Props

For all available props, go here.

Methods

For all available methods, go here

Development

Want to run demos locally

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

Contributing

Please see the contributing guidelines

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.