Rushikesh Posted April 23 Share Posted April 23 I want to create a slider like this website https://props.studiolumio.com/ How can I do this in react js Link to comment Share on other sites More sharing options...
Rodrigo Posted April 23 Share Posted April 23 Hi @Rushikesh and welcome to the GSAP Forums! You should check our Horizontal Loop helper function: https://gsap.com/docs/v3/HelperFunctions/helpers/seamlessLoop Check these demos using the Observer Plugin and ScrollTrigger: Observer Plugin See the Pen zYaxEKV by GreenSock (@GreenSock) on CodePen ScrollTrigger See the Pen GRwePYw by GreenSock (@GreenSock) on CodePen Here is a demo of the horizontal loop in React: https://stackblitz.com/edit/vitejs-vite-cljwjs?file=src%2FApp.jsx This one uses the Observer Plugin https://stackblitz.com/edit/vitejs-vite-auctqy?file=src%2FApp.jsx Hopefully this helps. Happy Tweening! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now