Create a Modern Gallery Animation with GSAP & Lenis

DesignCourse on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI3 min

About this video

A walkthrough of building a scroll-activated gallery animation using the Lenis smooth-scroll library and GSAP, with HTML, CSS and JavaScript. It suits developers and designers who want to prototype motion on the web.

What you’ll learn

  • Set up smooth scrolling with Lenis in a web page
  • Animate a photo gallery sequence on scroll with GSAP
  • Lay out a gallery with HTML and CSS grid