# Locomotive Scroll [](https://www.npmjs.com/package/locomotive-scroll) [](https://www.npmjs.com/package/locomotive-scroll) [](https://bundlephobia.com/package/locomotive-scroll) A **lightweight** & **modern** scroll library for detection, animation, and smooth scrolling. Built on top of [Lenis](https://github.com/darkroomengineering/lenis). ## Documentation Full documentation available at [scroll.locomotive.ca/docs](https://scroll.locomotive.ca/docs). ## Quick Start ```bash npm install locomotive-scroll ``` ```js import LocomotiveScroll from 'locomotive-scroll'; const scroll = new LocomotiveScroll(); ``` ```css @import 'locomotive-scroll/dist/locomotive-scroll.css'; ``` ```html