top of page
Documentation
Overview
Smooth Scroll is a Wix Studio plugin that integrates the Lenis scrolling library by Darkroom Engineering, allowing users to create smooth, customizable scrolling animations without writing any code.
Quick Start
1. Add the Smooth Scroll widget anywhere on your page (it will not be visible on your site)
2. Adjust the settings to match your desired scrolling behavior by opening the Setting panel
3. Preview your site to test the scrolling effect
Settings Explained
1. Enable Toggle
Activates or deactivates the smooth scrolling effect.
- ON: Smooth scrolling is active
- OFF: Returns to default browser scrolling
2. LERP (Linear Interpolation) - Range: 1-100
Controls how smooth the scrolling animation feels. LERP determines the speed at which the scroll position catches up to the user's input.
Tip:
- Use the Playground page to determine your desired settings.
3. Wheel Multiplier - Range: 1-20
Adjusts how much the page scrolls relative to the user's mouse wheel or touchpad input.
Tip:
- Use the Playground page to determine your desired settings.
4. Infinite Toggle
Enables infinite scrolling behavior, allowing content to loop seamlessly.
- Content will loop continuously
- Scroll position resets smoothly when reaching the end
- Works in both directions (up and down)
Tip:
Adjust your site design to loop seamlessly before enabling this feature. Consider how your content flows from end to beginning and ensure there are no abrupt transitions in your layout.
bottom of page