Skip to content

About

Implement smooth scrolling in Next.js with the help of Lenis scroll and add parallax effect using GSAP.

Topics

Resources

Stars

72 stars

Watchers

1 watching

Forks

Repository files navigation

Implement Smooth Scrolling & Parallax Effect in Next.js using Lenis and GSAP 🔥

GitHub stars   GitHub forks   Github Followers  

For Demo checkout following links👇:
Smooth Scrolling In Next.js

If you want to learn how to create it please follow below tutorial👇:
Next.js Smoooth Scroll Tutorial
YouTube Video Views

Checkout My Personal blog: DevDreaming

⭐DO NOT FORGET TO STAR THIS REPO⭐

Resources Used in This Project

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.js. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Upgraded toolchain

Uses Next.js 16.3.8, React 19.3.0, Lenis 1.3.26, GSAP 3.15.0, Tailwind CSS 4.3.3, ESLint 9.39.5, and TypeScript 6.0.3 for JavaScript checks. Archived Lenis/Hamo bindings were replaced, GSAP cleanup is scoped, and ESLint/Tailwind use their current configuration formats. With Bun 1.4.2 and Node.js 20.9+, run bun install --frozen-lockfile, then bun run dev, bun run lint, bun run typecheck, or bun run build && bun run start. No environment variables are required; Google Fonts and Lorem Picsum require network access. Production output is .next/.

About

Implement smooth scrolling in Next.js with the help of Lenis scroll and add parallax effect using GSAP.

Topics

Resources

Stars

72 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages