Installations
npm install @ant-design/react-slick
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
20.11.1
NPM Version
10.2.4
Score
96.8
Supply Chain
98.9
Quality
83.5
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
Download Statistics
Total Downloads
178,485,407
Last Day
269,193
Last Week
1,466,592
Last Month
5,880,748
Last Year
60,156,516
GitHub Statistics
MIT License
19 Stars
1,380 Commits
24 Forks
3 Watchers
12 Branches
35 Contributors
Updated on Oct 29, 2024
Bundle Size
44.50 kB
Minified
13.14 kB
Minified + Gzipped
Package Meta Information
Latest Version
1.1.2
Package Id
@ant-design/react-slick@1.1.2
Unpacked Size
812.08 kB
Size
172.92 kB
File Count
26
NPM Version
10.2.4
Node Version
20.11.1
Published on
Apr 01, 2024
Total Downloads
Cumulative downloads
Total Downloads
178,485,407
Last Day
5%
269,193
Compared to previous day
Last Week
7.9%
1,466,592
Compared to previous week
Last Month
29.5%
5,880,748
Compared to previous month
Last Year
25.9%
60,156,516
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Peer Dependencies
1
Dev Dependencies
49
@ant-design/react-slick
Carousel component built with React. It is a react port of slick carousel
Documentation
Installation
npm
1npm install @ant-design/react-slick --save
yarn
1yarn add @ant-design/react-slick
Also install slick-carousel for css and font
1npm install slick-carousel 2 3// Import css files 4import "slick-carousel/slick/slick.css"; 5import "slick-carousel/slick/slick-theme.css";
or add cdn link in your html
1<link 2 rel="stylesheet" 3 type="text/css" 4 charset="UTF-8" 5 href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css" 6/> 7<link 8 rel="stylesheet" 9 type="text/css" 10 href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css" 11/>
PlayGround
Example
1import React from "react"; 2import Slider from "@ant-design/react-slick"; 3 4export default function SimpleSlider() { 5 var settings = { 6 dots: true, 7 infinite: true, 8 speed: 500, 9 slidesToShow: 1, 10 slidesToScroll: 1 11 }; 12 return ( 13 <Slider {...settings}> 14 <div> 15 <h3>1</h3> 16 </div> 17 <div> 18 <h3>2</h3> 19 </div> 20 <div> 21 <h3>3</h3> 22 </div> 23 <div> 24 <h3>4</h3> 25 </div> 26 <div> 27 <h3>5</h3> 28 </div> 29 <div> 30 <h3>6</h3> 31 </div> 32 </Slider> 33 ); 34}
Props
For all available props, go here.
Methods
For all available methods, go here
Development
Want to run demos locally
1git clone https://github.com/ant-design/react-slick 2cd react-slick 3npm install 4npm start 5open http://localhost:8080
Community
Join our discord channel to discuss react-slick bugs and ask for help
Contributing
Please see the contributing guidelines

No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 1/25 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/ci.yml:1
- Info: no jobLevel write permissions found
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 12 are checked with a SAST tool
Score
3.7
/10
Last Scanned on 2025-02-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More