Lenis is an open-source library built to standardize scroll experiences and sauce up websites with butter-smooth navigation, all while using the platform and keeping it accessible.
Features
Performant
Lightweight (~2Kb gzipped)
Run scroll in main thread
Accessibility (CMD+F page search, keyboard navigation, keep scroll position on page refresh, etc.)