{"id":13433452,"url":"https://github.com/darkroomengineering/lenis","last_synced_at":"2025-12-12T14:16:52.784Z","repository":{"id":37248868,"uuid":"461908156","full_name":"darkroomengineering/lenis","owner":"darkroomengineering","description":"How smooth scroll should be","archived":false,"fork":false,"pushed_at":"2025-04-25T18:34:46.000Z","size":8643,"stargazers_count":10739,"open_issues_count":20,"forks_count":436,"subscribers_count":48,"default_branch":"main","last_synced_at":"2025-05-13T11:09:24.383Z","etag":null,"topics":["scroll","smooth","smooth-scroll"],"latest_commit_sha":null,"homepage":"https://lenis.darkroom.engineering","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkroomengineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["darkroomengineering"],"polar":"darkroomengineering"}},"created_at":"2022-02-21T14:57:09.000Z","updated_at":"2025-05-13T10:24:01.000Z","dependencies_parsed_at":"2023-09-27T15:50:53.022Z","dependency_job_id":"c6d24c93-8897-4186-a502-bb507c6bc52e","html_url":"https://github.com/darkroomengineering/lenis","commit_stats":{"total_commits":631,"total_committers":23,"mean_commits":"27.434782608695652","dds":0.3106180665610143,"last_synced_commit":"253c3baa94c31cc0c6c6a2e763cd20ecbb5555db"},"previous_names":["darkroomengineering/lenis"],"tags_count":139,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Flenis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Flenis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Flenis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Flenis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkroomengineering","download_url":"https://codeload.github.com/darkroomengineering/lenis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253929367,"owners_count":21985802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["scroll","smooth","smooth-scroll"],"created_at":"2024-07-31T02:01:26.063Z","updated_at":"2025-12-12T14:16:52.778Z","avatar_url":"https://github.com/darkroomengineering.png","language":"TypeScript","readme":"[![LENIS](https://assets.darkroom.engineering/lenis/banner.gif)](https://github.com/darkroomengineering/lenis)\n\n[![npm](https://img.shields.io/npm/v/lenis?colorA=E30613\u0026colorB=000000\n)](https://www.npmjs.com/package/lenis)\n[![downloads](https://img.shields.io/npm/dm/lenis?colorA=E30613\u0026colorB=000000\n)](https://www.npmjs.com/package/lenis)\n[![size](https://img.shields.io/bundlephobia/minzip/lenis?label=size\u0026colorA=E30613\u0026colorB=000000)](https://bundlephobia.com/package/lenis)\n\n## Introduction\n\nLenis (\"smooth\" in latin) is a lightweight, robust, and performant smooth scroll library. It's designed by [@darkroom.engineering](https://twitter.com/darkroomdevs) 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. It's perfect for creating smooth scrolling experiences on your website such as WebGL scroll syncing, parallax effects, and much more, see [Demo](https://lenis.darkroom.engineering/) and [Showcase](#lenis-in-use).\n\nRead our [Manifesto](https://github.com/darkroomengineering/lenis/blob/main/MANIFESTO.md) to learn more about the inspiration behind Lenis.\n\n\u003cbr/\u003e\n\n- [Sponsors](#sponsors)\n- [Packages](#packages)\n- [Installation](#installation)\n- [Setup](#setup)\n- [Settings](#settings)\n- [Properties](#properties)\n- [Methods](#methods)\n- [Events](#events)\n- [Considerations](#considerations)\n- [Limitations](#limitations)\n- [Troubleshooting](#troubleshooting)\n- [Tutorials](#tutorials)\n- [Plugins](#plugins)\n- [Lenis in Use](#lenis-in-use)\n- [License](#license)\n\n\u003cbr/\u003e\n\n## Sponsors\n\nIf you’ve used Lenis and it made your site feel just a little more alive, consider [sponsoring](https://github.com/sponsors/darkroomengineering).\n\nYour support helps us smooth out the internet one library at a time—and lets us keep building tools that care about the details most folks overlook.\n\n\u003c!-- sponsors --\u003e\n[![syntaxfm](https://github.com/syntaxfm.png?size=64)](https://github.com/syntaxfm) [![ae-com](https://github.com/ae-com.png?size=64)](https://github.com/ae-com) [![smsunarto](https://github.com/smsunarto.png?size=64)](https://github.com/smsunarto) [![thearkis](https://github.com/thearkis.png?size=64)](https://github.com/thearkis) [![cachet-studio](https://github.com/cachet-studio.png?size=64)](https://github.com/cachet-studio) [![ironvelvet](https://github.com/ironvelvet.png?size=64)](https://github.com/ironvelvet) [![mariosmaselli](https://github.com/mariosmaselli.png?size=64)](https://github.com/mariosmaselli) [![vallafederico](https://github.com/vallafederico.png?size=64)](https://github.com/vallafederico) [![bizarro](https://github.com/bizarro.png?size=64)](https://github.com/bizarro) [![mielucristian](https://github.com/mielucristian.png?size=64)](https://github.com/mielucristian) [![itsoffbrand](https://github.com/itsoffbrand.png?size=64)](https://github.com/itsoffbrand) [![glauber-sampaio](https://github.com/glauber-sampaio.png?size=64)](https://github.com/glauber-sampaio) [![velox-themes](https://github.com/velox-themes.png?size=64)](https://github.com/velox-themes) [![blackpixelca](https://github.com/blackpixelca.png?size=64)](https://github.com/blackpixelca) [![Tarang74](https://github.com/Tarang74.png?size=64)](https://github.com/Tarang74) [![joevingracien](https://github.com/joevingracien.png?size=64)](https://github.com/joevingracien)\n\u003c!-- sponsors --\u003e\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\u003ca href=\"https://vercel.com/oss\"\u003e\n  \u003cimg alt=\"Vercel OSS Program\" src=\"https://vercel.com/oss/program-badge.svg\" /\u003e\n\u003c/a\u003e\n\n\u003cbr/\u003e\n\n## Packages\n\n- [lenis](https://github.com/darkroomengineering/lenis/blob/main/README.md)\n- [lenis/react](https://github.com/darkroomengineering/lenis/blob/main/packages/react/README.md)\n- [lenis/vue](https://github.com/darkroomengineering/lenis/tree/main/packages/vue/README.md)\n- [lenis/framer](https://lenis.framer.website/)\n- [lenis/snap](https://github.com/darkroomengineering/lenis/tree/main/packages/snap/README.md)\n\n\n\u003cbr/\u003e\n\n## Installation\n\nUsing a package manager:\n\n```bash\nnpm i lenis\n# or\nyarn add lenis\n# or\npnpm add lenis\n```\n\n```js\nimport Lenis from 'lenis'\n```\n\n\u003cbr/\u003e\n\nUsing scripts:\n\n```html\n\u003cscript src=\"https://unpkg.com/lenis@1.3.16/dist/lenis.min.js\"\u003e\u003c/script\u003e \n```\n\n\n\u003cbr/\u003e\n\n## Setup\n\n### Basic:\n\n```js\n// Initialize Lenis\nconst lenis = new Lenis({\n  autoRaf: true,\n});\n\n// Listen for the scroll event and log the event data\nlenis.on('scroll', (e) =\u003e {\n  console.log(e);\n});\n```\n\n### Custom raf loop:\n\n```js\n// Initialize Lenis\nconst lenis = new Lenis();\n\n// Use requestAnimationFrame to continuously update the scroll\nfunction raf(time) {\n  lenis.raf(time);\n  requestAnimationFrame(raf);\n}\n\nrequestAnimationFrame(raf);\n```\n\n### Recommended CSS:\n\n**Import stylesheet:**\n```js\nimport 'lenis/dist/lenis.css'\n```\n\n**Or link the CSS file:**\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/lenis@1.3.16/dist/lenis.css\"\u003e\n```\n\n**Or add it manually:**\n\n[See lenis.css stylesheet](./packages/core/lenis.css)\n\n### GSAP ScrollTrigger:\n```js\n// Initialize a new Lenis instance for smooth scrolling\nconst lenis = new Lenis();\n\n// Synchronize Lenis scrolling with GSAP's ScrollTrigger plugin\nlenis.on('scroll', ScrollTrigger.update);\n\n// Add Lenis's requestAnimationFrame (raf) method to GSAP's ticker\n// This ensures Lenis's smooth scroll animation updates on each GSAP tick\ngsap.ticker.add((time) =\u003e {\n  lenis.raf(time * 1000); // Convert time from seconds to milliseconds\n});\n\n// Disable lag smoothing in GSAP to prevent any delay in scroll animations\ngsap.ticker.lagSmoothing(0);\n\n```\n\n### React:\n[See documentation for lenis/react](https://github.com/darkroomengineering/lenis/blob/main/packages/react/README.md).\n\n\n\n\n\u003cbr/\u003e\n\n\n## Settings\n\n| Option                 | Type                       | Default                                            | Description                                                                                                                                                                                                                                                                          |\n|------------------------|----------------------------|----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `wrapper`              | `HTMLElement, Window`      | `window`                                           | The element that will be used as the scroll container.                                                                                                                                                                                                                               |\n| `content`              | `HTMLElement`              | `document.documentElement`                         | The element that contains the content that will be scrolled, usually `wrapper`'s direct child.                                                                                                                                                                                       |\n| `eventsTarget`         | `HTMLElement, Window`      | `wrapper`                                          | The element that will listen to `wheel` and `touch` events.                                                                                                                                                                                                                          |\n| `smoothWheel`          | `boolean`                  | `true`                                             | Smooth the scroll initiated by `wheel` events.                                                                                                                                                                                                                                       |\n| `lerp`                 | `number`                   | `0.1`                                              | Linear interpolation (lerp) intensity (between 0 and 1).                                                                                                                                                                                                                             |\n| `duration`             | `number`                   | `1.2`                                              | The duration of scroll animation (in seconds). Useless if lerp defined.                                                                                                                                                                                                              |\n| `easing`               | `function`                 | `(t) =\u003e Math.min(1, 1.001 - Math.pow(2, -10 * t))` | The easing function to use for the scroll animation, our default is custom but you can pick one from [Easings.net](https://easings.net/en). Useless if lerp defined.                                                                                                                 |\n| `orientation`          | `string`                   | `vertical`                                         | The orientation of the scrolling. Can be `vertical` or `horizontal`.                                                                                                                                                                                                                 |\n| `gestureOrientation`   | `string`                   | `vertical`                                         | The orientation of the gestures. Can be `vertical`, `horizontal` or `both`.                                                                                                                                                                                                          |\n| `syncTouch`            | `boolean`                  | `false`                                            | Mimic touch device scroll while allowing scroll sync (can be unstable on iOS\u003c16).                                                                                                                                                                                                    |\n| `syncTouchLerp`        | `number`                   | `0.075`                                            | Lerp applied during `syncTouch` inertia.                                                                                                                                                                                                                                             |\n| `touchInertiaExponent` | `number`                   | `1.7`                                              | Manage the strength of syncTouch inertia.                                                                                                                                                                                                                                            |\n| `wheelMultiplier`      | `number`                   | `1`                                                | The multiplier to use for mouse wheel events.                                                                                                                                                                                                                                        |\n| `touchMultiplier`      | `number`                   | `1`                                                | The multiplier to use for touch events.                                                                                                                                                                                                                                              |\n| `infinite`             | `boolean`                  | `false`                                            | Enable infinite scrolling! `syncTouch: true` is required on touch devices ([See example](https://codepen.io/ClementRoche/pen/OJqBLod)).                                                                                                                                              |\n| `autoResize`           | `boolean`                  | `true`                                             | Resize instance automatically       based on `ResizeObserver`. If `false` you must resize manually using `.resize()`.                                                                                                                                                                |\n| `prevent`              | `function`                 | `undefined`                                        | Manually prevent scroll to be smoothed based on elements traversed by events. If `true` is returned, it will prevent the scroll to be smoothed. Example: `(node) =\u003e  node.classList.contains('cookie-modal')`.                                                                       |\n| `virtualScroll`        | `function`                 | `undefined`                                        | Manually modify the events before they get consumed. If `false` is returned, the scroll will not be smoothed. Examples: `(e) =\u003e { e.deltaY /= 2 }` (to slow down vertical scroll) or `({ event }) =\u003e !event.shiftKey` (to prevent scroll to be smoothed if shift key is pressed).    |\n| `overscroll`           | `boolean`                  | `true`                                             | Similar to CSS overscroll-behavior (https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior).                                                                                                                                                                           |\n| `autoRaf`              | `boolean`                  | `false`                                            | Whether or not to automatically run `requestAnimationFrame` loop.                                                                                                                                                                                                                    |\n| `anchors`              | `boolean, ScrollToOptions` | `false`                                            | Scroll to anchor links when clicked. If `true` is passed, it will enable anchor links with default options. If `ScrollToOptions` is passed, it will enable anchor links with the given options.                                                                                      |\n| `autoToggle`           | `boolean`                  | `false`                                            | Automatically start or stop the lenis instance based on the wrapper's overflow property, ⚠️ this requires Lenis recommended CSS. Safari \u003e 17.3, Chrome \u003e 116 and Firefox \u003e 128 ([https://caniuse.com/?search=transition-behavior](https://caniuse.com/?search=transition-behavior)). |\n| `allowNestedScroll`    | `boolean`                  | `false`                                            | Allow nested scrolls. If `true` is passed, it will allow nested scrolls. If `false` is passed, it will not allow nested scrolls. ⚠️ To be used with caution since this can lead to performance issues, prefer using `prevent` or `data-lenis-prevent` instead.                       |\n\u003cbr/\u003e\n\n\u003c!-- `target`: goal to reach\n- `number`: value to scroll in pixels\n- `string`: CSS selector or keyword (`top`, `left`, `start`, `bottom`, `right`, `end`)\n- `HTMLElement`: DOM element\n\n\u003cbr/\u003e\n\n`options`:\n- `offset`(`number`): equivalent to [`scroll-padding-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-padding-top)\n- `lerp`(`number`): animation lerp intensity\n- `duration`(`number`): animation duration (in seconds)\n- `easing`(`function`): animation easing\n- `immediate`(`boolean`): ignore duration, easing and lerp\n- `lock`(`boolean`): whether or not to prevent user from scrolling until target reached\n- `onComplete`(`function`): called when target is reached --\u003e\n\n## Properties\n\n| Property                | Type              | Description                                                                |\n|-------------------------|-------------------|----------------------------------------------------------------------------|\n| `animatedScroll`        | `number`          | Current scroll value                                                       |\n| `dimensions`            | `object`          | Dimensions instance                                                        |\n| `direction`             | `number`          | `1`: scrolling up, `-1`: scrolling down                                    |\n| `emitter`               | `object`          | Emitter instance                                                           |\n| `options`               | `object`          | Instance options                                                           |\n| `targetScroll`          | `number`          | Target scroll value                                                        |\n| `time`                  | `number`          | Time elapsed since instance creation                                       |\n| `actualScroll`          | `number`          | Current scroll value registered by the browser                             |\n| `lastVelocity`          | `number`          | last scroll velocity                                                       |\n| `velocity`              | `number`          | Current scroll velocity                                                    |\n| `isHorizontal` (getter) | `boolean`         | Whether or not the instance is horizontal                                  |\n| `isScrolling` (getter)  | `boolean, string` | Whether or not the scroll is being animated, `smooth`, `native` or `false` |\n| `isStopped` (getter)    | `boolean`         | Whether or not the user should be able to scroll                           |\n| `limit` (getter)        | `number`          | Maximum scroll value                                                       |\n| `progress` (getter)     | `number`          | Scroll progress from `0` to `1`                                            |\n| `rootElement` (getter)  | `HTMLElement`     | Element on which Lenis is instanced                                        |\n| `scroll` (getter)       | `number`          | Current scroll value (handles infinite scroll if activated)                |\n| `className` (getter)    | `string`          | `rootElement` className                                                    |\n\n\u003cbr/\u003e\n\n## Methods\n\n| Method                      | Description                                                                     | Arguments                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |\n|-----------------------------|---------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `raf(time)`                 | Must be called every frame for internal usage.                                  | `time`: in ms                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |\n| `scrollTo(target, options)` | Scroll to target.                                                               | `target`: goal to reach\u003cul\u003e\u003cli\u003e`number`: value to scroll in pixels\u003c/li\u003e\u003cli\u003e`string`: CSS selector or keyword (`top`, `left`, `start`, `bottom`, `right`, `end`)\u003c/li\u003e\u003cli\u003e`HTMLElement`: DOM element\u003c/li\u003e\u003c/ul\u003e`options`\u003cul\u003e\u003cli\u003e`offset`(`number`): equivalent to [`scroll-padding-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-padding-top)\u003c/li\u003e\u003cli\u003e`lerp`(`number`): animation lerp intensity\u003c/li\u003e\u003cli\u003e`duration`(`number`): animation duration (in seconds)\u003c/li\u003e\u003cli\u003e`easing`(`function`): animation easing\u003c/li\u003e\u003cli\u003e`immediate`(`boolean`): ignore duration, easing and lerp\u003c/li\u003e\u003cli\u003e`lock`(`boolean`): whether or not to prevent the user from scrolling until the target is reached\u003c/li\u003e\u003cli\u003e`force`(`boolean`): reach target even if instance is stopped\u003c/li\u003e\u003cli\u003e`onComplete`(`function`): called when the target is reached\u003c/li\u003e\u003cli\u003e`userData`(`object`): this object will be forwarded through `scroll` events\u003c/li\u003e\u003c/ul\u003e |\n| `on(id, function)`          | `id` can be any of the following [instance events](#instance-events) to listen. |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| `stop()`                    | Pauses the scroll                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| `start()`                   | Resumes the scroll                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| `resize()`                  | Compute internal sizes, it has to be used if `autoResize` option is `false`.    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n| `destroy()`                 | Destroys the instance and removes all events.                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |\n\n\n\n## Events\n\n| Event            | Callback Arguments        |\n|------------------|---------------------------|\n| `scroll`         | Lenis instance            |\n| `virtual-scroll` | `{deltaX, deltaY, event}` |\n\n\n\u003cbr/\u003e\n\n## Considerations\n\n### Nested scroll\n\n#### Using Javascript\n\n```html\n\u003cdiv id=\"modal\"\u003escrollable content\u003c/div\u003e\n```\n\n```js\nconst lenis = new Lenis({\n  prevent: (node) =\u003e node.id === 'modal',\n})\n```\n\n[See example](https://codepen.io/ClementRoche/pen/emONGYN)\n\n#### Using HTML\n\n```html\n\u003cdiv data-lenis-prevent\u003escrollable content\u003c/div\u003e\n```\n\n[See example](https://codepen.io/ClementRoche/pen/PoLdjpw)\n\n**Prevent wheel events only:**\n\n```html\n\u003cdiv data-lenis-prevent-wheel\u003escrollable content\u003c/div\u003e\n```\n\n**Prevent touch events only:**\n\n```html\n\u003cdiv data-lenis-prevent-touch\u003escrollable content\u003c/div\u003e\n```\n\n\n\n### Anchor links\nBy default, Lenis will prevent anchor links from working while scrolling. To enable them, you must set `anchors: true`.\n\n```js\nnew Lenis({\n  anchors: true\n})\n```\n\nYou can also use `scrollTo` options:\n\n```js\nnew Lenis({\n  anchors: {\n    offset: 100,\n    onComplete: ()=\u003e{\n      console.log('scrolled to anchor')\n    }\n  }\n})\n```\n\n\u003cbr/\u003e\n\n## Limitations\n\n- no support for CSS scroll-snap, you must use ([lenis/snap](https://github.com/darkroomengineering/lenis/tree/main/packages/snap/README.md))\n- capped to 60fps on Safari ([source](https://bugs.webkit.org/show_bug.cgi?id=173434)) and 30fps on low power mode\n- smooth scroll will stop working over iframe since they don't forward wheel events\n- position fixed seems to lag on MacOS Safari pre-M1 ([source](https://github.com/darkroomengineering/lenis/issues/103))\n- touch events may behave unexpectedly when `syncTouch` is enabled on iOS \u003c 16\n- nested scroll containers require proper configuration to work correctly\n\n\u003cbr/\u003e\n\n## Troubleshooting\n- Make sure you use the latest version of [Lenis](https://www.npmjs.com/package/lenis?activeTab=versions)\n- Include the recommended CSS\n- If using GSAP ScrollTrigger, ensure proper integration (see [GSAP ScrollTrigger setup](#setup) section)\n- Test without Lenis to ensure your element/page is scrollable\n- Be sure to use `autoRaf: true` or manually call `lenis.raf(time)` in your animation loop\n\n\u003cbr/\u003e\n\n## Tutorials\n\n- [Scroll Animation Ideas for Image Grids](https://tympanus.net/Development/ScrollAnimationsGrid/) by [Codrops](https://tympanus.net/codrops)\n- [How to Animate SVG Shapes on Scroll](https://tympanus.net/codrops/2022/06/08/how-to-animate-svg-shapes-on-scroll) by [Codrops](https://tympanus.net/codrops)\n- [The BEST smooth scrolling library for your Webflow website! (Lenis)](https://www.youtube.com/watch?v=VtCqTLRRMII) by [Diego Toda de Oliveira](https://www.diegoliv.works/)\n- [Easy smooth scroll in @Webflow with Lenis + GSAP ScrollTrigger tutorial](https://www.youtube.com/watch?v=gRKuzQTXq74) by [También Studio](https://www.tambien.studio/)\n\n\u003cbr/\u003e\n\n## Plugins\n\n- [r3f-scroll-rig](https://github.com/14islands/r3f-scroll-rig) by [14islands](https://14islands.com/)\n- [locomotive-scroll](https://github.com/locomotivemtl/locomotive-scroll) by [Locomotive](https://locomotive.ca/)\n\n\u003cbr/\u003e\n\n## Lenis in use\n\n- [Ibicash](https://ibi.cash/) by [darkroom.engineering](https://darkroom.engineering/)\n- [Grand Theft Auto VI](https://www.rockstargames.com/VI)\n- [Getty - Sculpting Harmony](https://gehry.getty.edu/) by [Resn](https://resn.co.nz/)\n- [Microsoft Design](https://microsoft.design/)\n- [Shopify Supply](https://shopify.supply/)\n- [Metamask](https://metamask.io/) by [Antinomy](https://www.antinomy.studio/)\n\n\u003cbr/\u003e\n\n## License\n\nMIT © [darkroom.engineering](https://github.com/darkroomengineering)\n","funding_links":["https://github.com/sponsors/darkroomengineering","https://polar.sh/darkroomengineering"],"categories":["前端开发框架及项目","TypeScript","JavaScript"],"sub_categories":["多工具库支持或纯JS"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkroomengineering%2Flenis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkroomengineering%2Flenis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkroomengineering%2Flenis/lists"}