Αποτελέσματα Αναζήτησης
A free, fast, and reliable CDN for @studio-freight/lenis. Lenis is a smooth scroll library to normalize and smooth the scrolling experience across devices.
Lenis is a smooth scroll library to normalize and smooth the scrolling experience across devices. Latest version: 1.0.42, last published: 6 months ago. Start using @studio-freight/lenis in your project by running `npm i @studio-freight/lenis`. There are 55 other projects in the npm registry using @studio-freight/lenis.
Lenis is a lightweight, robust, and performant smooth scroll library. It's designed by @darkroom.engineering to be simple to use and easy to integrate into your projects. It's built with performance in mind and is optimized for modern browsers.
react-lenis provides a <ReactLenis> component that creates a Lenis instance and provides it to its children via context. This allows you to use Lenis in your React app without worrying about passing the instance down through props. It also provides a useLenis hook that allows you to access the Lenis instance from any component in your app.
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.
A free, fast, and reliable CDN for lenis. [![LENIS](https://assets.darkroom.engineering/lenis/header.png)](https://github.com/darkroomengineering/lenis)
import Lenis from '@studio-freight/lenis' using scripts: <script src="https://cdn.jsdelivr.net/gh/studio-freight/lenis@1/bundled/lenis.min.js"></script> Setup. Basic setup: const lenis = new Lenis() lenis.on('scroll', (e) => { console.log(e) }) function raf(time) { lenis.raf(time) requestAnimationFrame(raf) } requestAnimationFrame(raf)