Please how can I achieve this using Reactjs
Hi @sharafa Welcome to the forum! I've moved your question to its own topic.
What have you tried already? This seems not that hard to move to React if you know how React works. Here is a great article how to use GSAP with React, be sure to give it a read. And after try your hand at creating it for your self our StackBlitz template for React can be found here so give it a go and when you're stuck post back here with the stackblitz link. Then someone will jump in an give you a hand! H