DriftSlider: a modular JavaScript/CSS slider library with physics-based touch interactions, four transition effects, and nine optional modules.
Key highlights:
- Core bundle under 10KB gzipped, zero production dependencies
- Velocity tracking, friction, and edge bounce for natural swipe feel
- Effects: Slide, Fade, 3D Coverflow, Cards (stack / diagonal / flip)
- Mobile-first responsive breakpoint system
- Full ARIA accessibility via the A11y module
- TypeScript type definitions included
- Works as a Vanilla JS ESM module and as a jQuery plugin
๐ Blog Post
๐ GitHub Repo
๐ Live Demo
Top comments (0)