Jump to content


ScrollSmoother not found in nextjs

Recommended Posts

I am trying to use ScrollSmoother in my nextjs project, however I am being unable to import the module. I get the error "module not found".

I am using the dist folder for the import, and v 3.11.1


import { ScrollSmoother } from 'gsap/dist/ScrollSmoother';

Link to comment
Share on other sites

Hi @avizmarques,


The reason is not found, is because ScrollSmoother Plugin is a Club GreenSock Plugin. You can still test it in your local environment using the following link:



Just follow the same instructions from the previous thread, about using ScrollTrigger's beta version in Next.


Happy Tweening!!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.