kenwheeler /slick

the last carousel you'll ever need

★ 28,520⑂ 5,704👁 524⑃ 726● 3,631▤ 50
JavaScriptMITCreated 2014-03-24
下载:v2.0.1v2.0.1 ↓2.0.12026-07-30
+1
日增长
-4
周增长
-5
月增长
28,520
stars
5,704
forks
524
watchers
726
prs
3,631
issues
50
releases

Top issues

Latest release

v2.0.1 v2.0.1 2026-07-30
A small maintenance release featuring one RTL bug fix.

🐛 Bug fixes

- Fixed RTL + variableWidth rendering as LTR. Slick's right-to-left layout depends on the [dir=rtl] .slick-slide CSS rule, but the rtl: true option only drove the JavaScript positioning. It never guaranteed that rule matched. As a result, pages that set direction via CSS (direction: rtl), a utility class, or a dir="rtl" attribute that wasn't an ancestor of the slider would render left-to-right, which was especially broken with variableWidth: true. Slick now applies dir="rtl" to its own slider element when rtl: true, so th

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON