GSAP Landing page animation : Text splitting , luxy.js , scrollTrigger in Reactjs

GSAP Landing page animation : Text splitting , luxy.js , ScrollTrigger

GSAP is an industry standard JavaScript animation library from GreenSock that lets you craft high-performance animations that work in every major browser.

Demo Link : https://drmaniya.github.io/lucy-build/


Here some Basic step to follow while create animation in GSAP.

1 : Register scrollTrigger plugin. while trigger element on scroll.
2 : Create React Hooks and write gsap code inside it.
3 : Use gsap.context(), 
Collects all GSAP animations and ScrollTrigger that are created within the supplied function so that you can easily revert() or kill()ALL of them at once.
4 : Create timeline and scrollTrigger base on your requirements.

To create this animation you have some basic knowledge about GSAP methods.

APP.JS file


text animation on scroll



PRODUCT.JSX


gsap scrollTrigger landing page animation


Product.css file


gsap scrollTrigger landing page animation css



Previous Post Next Post