Gathering detailed insights and metrics for vue-slick
Gathering detailed insights and metrics for vue-slick
Gathering detailed insights and metrics for vue-slick
Gathering detailed insights and metrics for vue-slick
vue-slick-carousel
Vue Slick Carousel with True SSR Written for Faster Luxstay
vue-slick-ts
Vue/Nuxt component for slick-carousel with full Typescript
v-slick-carousel
Vue Slick Carousel for Vue 3
vue-color-input
Slick and perfomant vue 3 color picker component whose goal is to replace <input type=color>
Vue component for Slick-carousel (http://kenwheeler.github.io/slick)
npm install vue-slick
Typescript
Module System
Node Version
NPM Version
90.6
Supply Chain
100
Quality
79.7
Maintenance
100
Vulnerability
100
License
Vue (81.64%)
JavaScript (16.69%)
Shell (1.67%)
Total Downloads
4,289,341
Last Day
195
Last Week
10,042
Last Month
39,881
Last Year
473,406
615 Stars
88 Commits
109 Forks
17 Watchers
3 Branches
21 Contributors
Updated on Jul 01, 2025
Minified
Minified + Gzipped
Latest Version
1.2.0
Package Id
vue-slick@1.2.0
Unpacked Size
34.95 kB
Size
5.28 kB
File Count
9
NPM Version
8.3.1
Node Version
16.14.0
Cumulative downloads
Total Downloads
1
1
This package is no longer supported by its main contributor (@staskjs). If you would like to work on it, I will gladly add you as a collaborator. Please reach me on telegram @staskjs.
Supports only Vue >= 2
See official documentation here.
1npm install vue-slick 2# or 3yarn add vue-slick
NOTE: slick-carousel
official package appears to use jquery
as a dependency in package.json,
despite it would be more appropriate to use it as a peer dependency to avoid possibility of using multiple
versions of jquery. Be aware of that. When using webpack
you can solve this problem with aliases.
1import Slick from 'vue-slick'; 2 3new Vue({ 4 5 components: { Slick }, 6 7 data() { 8 return { 9 slickOptions: { 10 slidesToShow: 3, 11 // Any other options that can be got from plugin documentation 12 }, 13 }; 14 }, 15 16 // All slick methods can be used too, example here 17 methods: { 18 next() { 19 this.$refs.slick.next(); 20 }, 21 22 prev() { 23 this.$refs.slick.prev(); 24 }, 25 26 reInit() { 27 // Helpful if you have to deal with v-for to update dynamic lists 28 this.$nextTick(() => { 29 this.$refs.slick.reSlick(); 30 }); 31 }, 32 33 // Events listeners 34 handleAfterChange(event, slick, currentSlide) { 35 console.log('handleAfterChange', event, slick, currentSlide); 36 }, 37 handleBeforeChange(event, slick, currentSlide, nextSlide) { 38 console.log('handleBeforeChange', event, slick, currentSlide, nextSlide); 39 }, 40 handleBreakpoint(event, slick, breakpoint) { 41 console.log('handleBreakpoint', event, slick, breakpoint); 42 }, 43 handleDestroy(event, slick) { 44 console.log('handleDestroy', event, slick); 45 }, 46 handleEdge(event, slick, direction) { 47 console.log('handleEdge', event, slick, direction); 48 }, 49 handleInit(event, slick) { 50 console.log('handleInit', event, slick); 51 }, 52 handleReInit(event, slick) { 53 console.log('handleReInit', event, slick); 54 }, 55 handleSetPosition(event, slick) { 56 console.log('handleSetPosition', event, slick); 57 }, 58 handleSwipe(event, slick, direction) { 59 console.log('handleSwipe', event, slick, direction); 60 }, 61 handleLazyLoaded(event, slick, image, imageSource) { 62 console.log('handleLazyLoaded', event, slick, image, imageSource); 63 }, 64 handleLazyLoadError(event, slick, image, imageSource) { 65 console.log('handleLazeLoadError', event, slick, image, imageSource); 66 }, 67 }, 68});
1<slick 2 ref="slick" 3 :options="slickOptions" 4 @afterChange="handleAfterChange" 5 @beforeChange="handleBeforeChange" 6 @breakpoint="handleBreakpoint" 7 @destroy="handleDestroy" 8 @edge="handleEdge" 9 @init="handleInit" 10 @reInit="handleReInit" 11 @setPosition="handleSetPosition" 12 @swipe="handleSwipe" 13 @lazyLoaded="handleLazyLoaded" 14 @lazyLoadError="handleLazyLoadError"> 15 <a href="http://placehold.it/2000x1000"><img src="http://placehold.it/2000x1000" alt=""></a> 16 <a href="http://placehold.it/2000x1000"><img src="http://placehold.it/2000x1000" alt=""></a> 17 <a href="http://placehold.it/2000x1000"><img src="http://placehold.it/2000x1000" alt=""></a> 18 <a href="http://placehold.it/2000x1000"><img src="http://placehold.it/2000x1000" alt=""></a> 19 <a href="http://placehold.it/2000x1000"><img src="http://placehold.it/2000x1000" alt=""></a> 20</slick>
If you need, you can import slick styles too:
1// MyCarrousel.vue 2import 'slick-carousel/slick/slick.css';
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 5/16 approved changesets -- score normalized to 3
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
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
15 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
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 MoreLast Day
-6.7%
195
Compared to previous day
Last Week
-5.6%
10,042
Compared to previous week
Last Month
1.9%
39,881
Compared to previous month
Last Year
-25.9%
473,406
Compared to previous year