Smooth scrolling with Lenis

설명

Adds the Lenis library (by darkroom.engineering) to your WordPress page. Simply enable the plugin and it will add the library to your page.

You can use a function ‘smoothScrollLenisCallback(event)’ in your custom code that will be called by the Lenis scroll event.

Note: if you have popup with scrolling content you’ll need to this attribute data-lenis-prevent to the popup.

Credits:
– Lenis library: https://github.com/darkroomengineering

설치

  • Enable the plugin
  • Some settings are under “Settings – Lenis”

후기

2025년 9월 18일 답글 1개
Thank you for this plugin. I just learned about the Lenis smooth scroll library and I was looking at a complicated manual implementation… but then I found your plugin which did everything in one click! Please keep updating it with new features when you have the time, or just to keep it working with newer versions of Wordpress as they are released. Cheers!
2025년 1월 11일 답글 6개
Seems to work in all browsers! very nice!But I would prefer a stronger smooth scroll effect. But the plugin has no settings for that.
2024년 9월 28일 답글 2개
The Lenis Smooth Scroll works great. It would be nice to stay up to date to the latest version of Wordpress.
모든 5 평가 읽기

기여자 & 개발자

“Smooth scrolling with Lenis”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Smooth scrolling with Lenis”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.4.0
* update lenis to 1.3.11

1.3.0
* update lenis to 1.3.8
* add “Synchronize with GSAP/ScrollTrigger” checkbox to the settings

1.2.0
* update lenis to 1.3.4

1.1.0
* update lenis to 1.1.20

1.0.4
* two new properties: lerp and duration

1.0.3
* custom scroll function ‘smoothScrollLenisCallback(event)’ that will be called if available.

1.0.2
* update Lenis to 1.1.13

1.0.1
* prevent JS error when Lenis is not loaded
* load default Lenis CSS
* update Lenis to 1.1.4

1.0.0
* Initial release.