suckless-react-slider
TypeScript icon, indicating that this package has built-in type declarations

1.0.19 • Public • Published

suckless-react-slider

I made this slider as a PoC to prove that you don't need react-spring or gsap to make working touch slider.

Principles of this project are:

  • slider HOC should always be in one file so whoever needs to add new functionality can copy source code and customize it
  • slider should use Hammer.js and CSS variables for transitions
  • slider should use render props for pagination so it's easy to customize it

Demo of slider can be found here

Readme

Keywords

none

Package Sidebar

Install

npm i suckless-react-slider

Weekly Downloads

1

Version

1.0.19

License

ISC

Unpacked Size

11.6 kB

Total Files

10

Last publish

Collaborators

  • grayrattus