This app was created to practice scrolltrigger and typescript. Most of the code is from https://www.youtube.com/c/devaslife and his video on how he developed the site https://margelo.io/. Please support the creator.
GSAP in react definitely requires some elbow grease to get working compared to react animation libraries. I experienced some jank getting everything in this example to work. Here are some resources to get you started:
This project is built with Vite, TypeScript, React, and TailwindCSS. The TypeScript isn't too heavy, so you should be able to understand it as you would JSX.
- npm install
- npm run dev