Locomotive Scroll v5: a lightweight JavaScript library (9.4kB gzipped) that handles smooth scrolling and parallax effects.
Built on Lenis with TypeScript support.
Key features:
• Dual Intersection Observer strategy separates simple triggers from continuous animations
• Automatic parallax disabling on touch devices
• Custom scroll container support
• Progress tracking via CSS variables or JavaScript events
• Zero layout shifts with non-greedy transforms
Perfect for developers building scroll-driven interfaces who need complete API documentation in one place.
Top comments (0)