This example features how to use GSAP as the animation library within a Next.js app.
Deploy the example using Vercel or preview live with StackBlitz
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example with-gsap with-gsap-app
# or
yarn create next-app --example with-gsap with-gsap-app
# or
pnpm create next-app -- --example with-gsap with-gsap-app
Deploy it to the cloud with Vercel (Documentation).