Smooth Scroll
A smooth scroll stacking card effect built with React and Framer Motion. Creates an engaging layered animation where cards overlap and transition fluidly as the user scrolls.
A smooth scroll stacking card effect built with React and Framer Motion. Creates an engaging layered animation where cards overlap and transition fluidly as the user scrolls.
you can check this doc react lenis
npm install lenis/react
We use lenis for smooth scrolling:
1'use client';2import { ReactLenis } from 'lenis/react';3export default function HorizontalScroll(): JSX.Element {4return <ReactLenis root>{/* content */}</ReactLenis>;5}