Jump to content
Search Community

Recommended Posts

Posted

Hello everyone, I'm trying to create a simple text marquee. But in my case, the marquee is just getting repeated. But I was trying to make an infinite marquee.

See the Pen rNRVELK by sabbirzzaman (@sabbirzzaman) on CodePen.

Posted

Hi,

 

Here is a simple demo in React using the useGSAP hook:

https://stackblitz.com/edit/vitejs-vite-cljwjs?file=src%2FApp.jsx

 

That should be the same in a Next app.

 

Finally I'd recommend you to check the resources we have in order to understand how to integrate GSAP in React/Next projects, including our brand new useGSAP hook:

https://gsap.com/resources/React

 

Hopefully this helps.

Happy Tweening!

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...