Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

suckless-react-slider

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

suckless-react-slider

A simple, small, universal slider for React

latest
npmnpm
Version
1.0.19
Version published
Weekly downloads
2
-90.91%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 25 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts