This repository showcases a simple implementation of momentum scrolling in a React web application using TypeScript, Framer Motion, and Resize Observer Polyfill. The code is based on the blog post titled "Craft a Smooth Momentum Scrolling Experience with React and Framer Motion".
- Smooth momentum scrolling effect
- Responsive to dynamic content changes
- Optimized performance with minimal re-renders
To get started, clone this repository and install the necessary dependencies:
git clone https://github.com/d-e-v-esh/momentum-scrolling-framer-motion.git
cd momentum-scrolling-framer-motion
yarn install
After installing the dependencies, run the development server using:
yarn start
You can now view the sample implementation of momentum scrolling in your web browser by navigating to http://localhost:3000
.
Contributions are welcome! If you have any suggestions or improvements, feel free to create a pull request or open an issue. Your feedback is much appreciated.
This project is licensed under the MIT License.