Navigate:
~$SLICK0.0%

slick: A jQuery carousel library

Responsive jQuery plugin for touch-enabled content carousels.

LIVE RANKINGS • 06:52 AM • STEADY
OVERALL
#260
7
BACKEND & APIS
#16
30 DAY RANKING TREND
ovr#260
·Backe#16
STARS
28.6K
FORKS
5.8K
DOWNLOADS
1.3M
7D STARS
+2
7D FORKS
-3
See Repo:
Share:

Learn more about slick

slick is a jQuery plugin that implements carousel functionality for displaying sequences of content with navigation controls. It uses jQuery for DOM manipulation and event handling, with CSS3 transitions for animations and support for fallback easing functions. The library provides extensive configuration options through both HTML data attributes and JavaScript initialization, allowing responsive behavior across different screen sizes through breakpoint-based settings. Common use cases include product galleries, image sliders, testimonial carousels, and content rotation on websites.


1

Data attribute configuration

Settings can be defined directly in HTML using data-slick attributes, reducing the need for separate JavaScript initialization code while still requiring explicit plugin invocation.

2

Responsive breakpoint system

The responsive option accepts an array of breakpoint objects that apply different settings at specified screen widths, with support for mobile-first or desktop-first calculation modes.

3

Synchronized multi-slider support

The asNavFor option enables multiple carousel instances to be linked together, allowing one slider to control navigation of another, useful for thumbnail galleries paired with main content displays.


$('.product-gallery').slick({
  dots: true,
  infinite: true,
  speed: 300,
  slidesToShow: 1,
  autoplay: true
});

v1.8.0

jQuery moved to peer dependency; install it separately or builds will fail.

  • Add jQuery as an explicit peer dependency in your package.json to avoid runtime errors.
  • Set focusOnChange: false if you need to disable automatic focus behavior on slide changes.
v1.7.1

Bower support is deprecated; upgrade jQuery syntax to v3 compatibility and fix centerMode, touch-drag, and RTL bugs.

  • Migrate off Bower as it is now deprecated; use npm or another package manager.
  • Verify jQuery 3.x compatibility if upgrading; syntax fixes resolve prior breakage with newer jQuery versions.
v1.6.0

Release notes do not specify breaking changes, new features, or upgrade requirements for this version.

  • Review the commit history or changelog file directly to identify changes before upgrading production systems.
  • Test thoroughly in staging as the scope of modifications and potential compatibility issues are undocumented.


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers