🌜
🌞
keen-slider

keen-slider

v6.7.0

The HTML touch slider carousel with the most native feeling you will get.

npm install keen-slider

README

Keen-Slider

Easily create sliders, carousels and much more.


Features

  • Library Agnostic: Works well in JavaScript, TypeScript, React, Vue, Angular, React Native etc.
  • Lightweight: No dependencies, only ~5.5KB gzipped
  • Mobile First: Supports multi touch and is fully responsive
  • Great Performance: Native touch/swipe behavior
  • Compatible: Works in all common browsers, including >= IE 10 and React Native
  • Open Source: Freely available under the MIT license
  • Extensible: Rich but simple API

Getting Started

Used by

used by used by

Contributing

Please open an issue if you find a bug or need some help. You are also free to create a pull request.

Release Notes

6.7.0
By Eric Beyer • Published on June 15, 2022

Features:

  • Added new property (slidesLength) to the track details, specifying the length of the slides and the distances between them.

Bugfixes:

  • Fixed rounding issues that resulted in wrong absolute index values.
  • Fixed broken maxIdx property of the track details, when range option was set.
6.6.14
By Eric Beyer • Published on May 15, 2022

Bugfixes:

  • When the container was scaled with css, the calculation of width/height didn't work properly because it was done with getBoundingClientRect. The calculation of the width and height is now done with a combination of getBoundingClientRect and offsetWidth/OffsetHeight.

General

License
MIT
Typescript Types
Built-in
Tree-shakeable
Yes

Popularity

GitHub Stargazers
3,584
Community Interest
2,956
Number of Forks
152

Maintenance

Commits
11/2110/22070
Last Commit
Open Issues
17
Closed Issues
215
Open Pull Requests
0
Closed Pull Requests
12

Versions

Versions Released
11/2110/22020
Latest Version Released
Jun 15, 2022
Current Tags
latest6.7.0

Contributors

rcbyr
rcbyr
Commits: 198
TheNoim
TheNoim
Commits: 5
m424m
m424m
Commits: 2
roderickhsiao
roderickhsiao
Commits: 2
kang-heewon
kang-heewon
Commits: 2
hotscotch92
hotscotch92
Commits: 1
EmilMassey
EmilMassey
Commits: 1
markpinero
markpinero
Commits: 1