Smooth scrolling with Lenis

Àpèjúwe

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Ìtumọ̀ Yorùbá: ’ll need to add this attribute data-lenis-prevent to the popup.

Credits:
Ìtumọ̀ Yorùbá: – Lenis library: https://github.com/darkroomengineering

Ìgbéwọlẹ̀

  • Enable the plugin
  • Some settings are under “Settings Ìtumọ̀ Yorùbá: – Lenis”

Àwọn àgbéyẹ̀wò

Ọwẹ́wẹ̀ 18, 2025 1 ìdáhùn
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!
Ṣẹrẹ 11, 2025 6 àwọn ìdáhùn
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.
Ọwẹ́wẹ̀ 28, 2024 2 àwọn ìdáhùn
The Lenis Smooth Scroll works great. It would be nice to stay up to date to the latest version of Wordpress.
Ka gbogbo àwọn àgbéyẹ̀wò 5

Àwọn Olùkópa & Olùgbéejáde

“Smooth scrolling with Lenis” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Smooth scrolling with Lenis” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.6.0
* update lenis to 1.3.18
* minor code improvements

1.5.0
* update lenis to 1.3.17

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.