How do many AWWWARDS-style websites feel so smooth?

With content that glides with momentum, buttery smooth 3D Spline graphics and parallax images that work so well.

They all use JS libraries that require some coding:

  1. GSAP ScrollSmoother (paid)
  2. Lenis (free)

But if you go to this Webflow cloneable: Lenis Smooth Scroll Webflow Master, you can copy and paste the code, and you’ve got smooth scrolling as well.

Get the code with one click (technically, two...)

This is the code it will copy for you:

<!--
<script
	data-id-scroll
	data-autoinit="true"
	data-duration="1"
	data-orientation="vertical"
	data-smoothWheel="true"
	data-smoothTouch="false"
	data-touchMultiplier="1.5"
	data-easing="(t) => (t === 1 ? 1 : 1 - Math.pow(2, -10 * t))"
	data-useOverscroll="true"
	data-useControls="true"
	data-useAnchor="true"
	data-useRaf="true"
	data-infinite="false"
	defer
	src="https://assets-global.website-files.com/645e0e1ff7fdb6dc8c85f3a2/64a5544a813c7253b90f2f50_lenis-offbrand.txt">
</script>
-->

Just make sure to remove the <!-- and --> from the code for it to work, like this:

<script
	data-id-scroll
	data-autoinit="true"
	data-duration="1"
	data-orientation="vertical"
	data-smoothWheel="true"
	data-smoothTouch="false"
	data-touchMultiplier="1.5"
	data-easing="(t) => (t === 1 ? 1 : 1 - Math.pow(2, -10 * t))"
	data-useOverscroll="true"
	data-useControls="true"
	data-useAnchor="true"
	data-useRaf="true"
	data-infinite="false"
	defer
	src="https://assets-global.website-files.com/645e0e1ff7fdb6dc8c85f3a2/64a5544a813c7253b90f2f50_lenis-offbrand.txt">
</script>

Then you can paste it on the </body>, or at the bottom of your website.

Free Webflow cloneable templates in the video

Other websites in the video

Use with caution

This works great on site that pair it with staggered letter animaiosn, parallax images and 3D graphics. It won't have too much affect on "regular" websites. And don't forget - don't overdo it, as it may feel "sluggish", slow and may hurt UX if overdone according to the article Scrolljacking 101 by the Nielsen Norman Group.

Do you use this effect?

Leave a comment in the video if you do. And you're welcome to signup for my newsletter for more tips.

Cheers.

Unlock exclusive web design tips and tricks! Join our mailing list for a monthly dose of inspiration delivered straight to your inbox.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
I will never send you spam. Unsubscribe at any time.

More videos

Next

Chevron
No next video
Back to all videos
Chevron

Previous

No previous video
Back to all videos

Some of the links on this page are affiliate links, meaning I may receive a commission if you follow them. This allows me to continue providing free content and educational resources for you, and for you it changes nothing. Also, I 100% stand behind every product I recommend. Thank you for supporting my small business