slick: A jQuery carousel library
Responsive jQuery plugin for touch-enabled content carousels.
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.
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.
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.
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
});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.
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.
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.
Top in Backend & APIs
Related Repositories
Discover similar tools and frameworks used by developers
beego
MVC framework for Go with integrated ORM and routing.
magento2
Modular PHP platform for self-hosted ecommerce storefronts.
gson
Reflection-based Java library for JSON object conversion.
gin
Fast HTTP router with JSON binding and middleware support.
graphiql
Browser-based GraphQL IDE with language service tooling.