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.

Web Design Secrets, Part 8: Figma Playground
Web Design Secrets, Part 7: Huge Graphics
Web Design Secrets, Part 6: Gradient Headings
Web Design Secrets, Part 5: Bento girds
Web Design Secrets, Part 4: Mouse Follower
Web Design Secrets, Part 3: Secondary Animation
Web Design Secrets, Part 2: Staggered Text Reveal Animation
Web Design Secrets, Part 1: Smooth Scrolling
How to add "Paper" to your web design
Relume AI Website Builder
No more unbalanced headlines in your design
Fill text on scroll with GSAP and ScrollTrigger
Design Better Countdown Timers
Emoji Confetti
Text Stroke Effect
Stretched letter effect using variable fonts

Got a Question?

Get an Answer!

If something's not clear, drop a question on my Instagram and I'll update my tutorial if needed.

More videos

Next
No next video
Back to all videos
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