Lenis An Open Source Smooth Scroll Library

Studio Freight November 14, 2022

ADN
lenis-an-open-source-smooth-scroll-library

Live Preview Download

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.)
  • External RAF
  • SSR proof
  • Not opinionated
  • Tree shake able
  • Custom scroll easing/duration

Next: Tips to create impressive animated websites without Adobe Flash

also view other related posts,