# Lenis

[BASE product page](<https://base.akulich.dev/en/library/lenis/>) · [Resource](<https://lenis.dev/>)

ID: lenis · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A library for smooth scrolling and synchronizing DOM/WebGL animations\. Useful for scroll scenes and integration with GSAP\.

## Type

Smooth\-scrolling library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/lenis/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/lenis/#resource-access>)

The library is free; no subscription is needed\.

## [Access and limitations](<https://base.akulich.dev/en/library/lenis/#resource-access>)

The library is free; no subscription is needed\.

## [Use cases](<https://base.akulich.dev/en/library/lenis/#resource-tasks>)

- Smooth landing\-page scrolling
- Synchronizing WebGL, DOM, and GSAP scroll animations

## Tech stack

- JavaScript
- WebGL / WebGPU

## Category IDs

- motion
- frontend

## Subcategory IDs

- motion\.scroll
- frontend\.utilities

## Tags

- Lenis
- WebGL

## Also known as

- Lenis

## [Selection purpose](<https://base.akulich.dev/en/library/lenis/#resource-selection>)

Smooth landing\-page scrolling

## [Choose this when](<https://base.akulich.dev/en/library/lenis/#resource-selection>)

- Smooth landing\-page scrolling
- Synchronizing WebGL, DOM, and GSAP scroll animations

## [Requirements](<https://base.akulich.dev/en/library/lenis/#resource-selection>)

- Include the recommended CSS and choose autoRaf or your own raf; with GSAP, convert ticker time to milliseconds\.

## [Limitations](<https://base.akulich.dev/en/library/lenis/#resource-selection>)

- Access terms: The library is free; no subscription is needed\.
- Terms of use: MIT\.
- The GSAP ticker supplies seconds and lenis\.raf accepts milliseconds; incorrect units break synchronization\.

## [Questions before use](<https://base.akulich.dev/en/library/lenis/#resource-faq>)

### What can you use for free in Lenis?

The library is free; no subscription is needed\.

### What are the access terms for Lenis?

The library is free; no subscription is needed\.

### What terms of use matter for Lenis?

MIT\.

### Which environment can you use Lenis in?

Tech stack: JavaScript, WebGL / WebGPU\.

### How do you get started with Lenis?

For the task “Smooth landing\-page scrolling”: test the page with normal scrolling, then add the chosen mechanism in one place\. Tie the effect to the section's actual position rather than assuming a fixed viewport height\. Test resizing, media loading, and returning to the page; coordinate the behavior with other effects\.

### Why does the Lenis/GSAP integration example multiply time by 1000?

The README connects the GSAP ticker to lenis\.raf\(time \* 1000\): the ticker uses seconds, while Lenis uses milliseconds\. The scroll event is also connected to ScrollTrigger\.update\. Choose a consistent update path and test movement while scrolling\.

## Sources for the selection guide

- [https://lenis\.dev/](<https://lenis.dev/>)
- [https://github\.com/darkroomengineering/lenis](<https://github.com/darkroomengineering/lenis>)
- [https://github\.com/darkroomengineering/lenis/blob/main/LICENSE](<https://github.com/darkroomengineering/lenis/blob/main/LICENSE>)
- [https://alive\-aluminum\-01b\.notion\.site/vibecoding\-guide\-loads\-of\-UI\-tools\-85486fdb514283d1833b8148b167c182](<https://alive-aluminum-01b.notion.site/vibecoding-guide-loads-of-UI-tools-85486fdb514283d1833b8148b167c182>)
- [https://raw\.githubusercontent\.com/darkroomengineering/lenis/main/README\.md](<https://raw.githubusercontent.com/darkroomengineering/lenis/main/README.md>)
- [https://raw\.githubusercontent\.com/darkroomengineering/lenis/main/LICENSE](<https://raw.githubusercontent.com/darkroomengineering/lenis/main/LICENSE>)

## [Possible workflow](<https://base.akulich.dev/en/library/lenis/#resource-scenario>)

Example workflow with Lenis: Smooth landing\-page scrolling\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A page with long content and one area that needs controlled scrolling\.
- Existing scroll handlers and navigation paths to page sections\.
- From the tech stack mentioned on this page, choose an option that suits your project: WebGL; check version compatibility in the documentation\.

## Steps

1. For the task “Smooth landing\-page scrolling”: test the page with normal scrolling, then add the chosen mechanism in one place\.
2. Tie the effect to the section's actual position rather than assuming a fixed viewport height\.
3. Test resizing, media loading, and returning to the page; coordinate the behavior with other effects\.

## Check your result

- Mouse wheel, touch, keyboard, and section links produce the expected result\.
- Long pages remain readable; reduced motion and less powerful devices do not block navigation\.

## [License](<https://base.akulich.dev/en/library/lenis/#resource-license>)

MIT\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/lenis/#resource-sources>)

- [Official website](<https://lenis.dev/>)
- [Source code](<https://github.com/darkroomengineering/lenis>)
- [License](<https://github.com/darkroomengineering/lenis/blob/main/LICENSE>)
- [Original material](<https://alive-aluminum-01b.notion.site/vibecoding-guide-loads-of-UI-tools-85486fdb514283d1833b8148b167c182>)
- [Official source](<https://raw.githubusercontent.com/darkroomengineering/lenis/main/README.md>)
- [Official source](<https://raw.githubusercontent.com/darkroomengineering/lenis/main/LICENSE>)

## Editorial review date

2026\-10\-03

## Editorial review scope

Purpose and published terms were reviewed against the cited primary sources\. This product page does not confirm execution or testing in every environment\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
