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

Quick start

The easiest way to try out react-slick is using the  Code Sandbox example
or you can create an index.html file and include react-slick with:

<link rel="stylesheet" type="text/css" charset="UTF-8" href="" /> 
<link rel="stylesheet" type="text/css" href="" />


npm install react-slick --save
yarn add react-slick

After you are done installing through yarn or npm, now you will have to include CSS in your project

Include CSS

npm install slick-carousel --save
import "~slick-carousel/slick/slick.css"; 
import "~slick-carousel/slick/slick-theme.css";

Note: But be aware slick-carousel has a peer-dependancy on jQuery which you, or your colleagues may not like to see in your console output, so you can always grab the CSS from there and convert it into any CSS in JS solution that you might be using.

Single Item


import React, { Component } from "react";
import Slider from "react-slick";

export default class SimpleSlider extends Component {
  render() {
    const settings = {
      dots: true,
      infinite: true,
      speed: 500,
      slidesToShow: 1,
      slidesToScroll: 1
    return (
        <h2> Single Item</h2>
        <Slider {...settings}>
© Neostack