Jump to content
Search Community

Trying to replicate menu link animation effect

kresogalic test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello @kresogalic, could you post a codepen from your replica attempt?
But if it is animation with text, I believe that the demonstration below will give you an idea,}
there are several ways to do it, that was the one I found easier.
Using the GSAP SplitText Plugin.


See the Pen aPoYEB by Noturnoo (@Noturnoo) on CodePen

Hope this helps you. ?

  • Like 4
  • Thanks 1
Link to comment
Share on other sites

@Noturnoo thank you this works, but I am integrating this in React, and what happens if I have structure like this:


<nav className="links">
     <NavLink exact to="/">Home</NavLink>
     <NavLink to="/services">Services</NavLink>
     <NavLink to="/work">Work</NavLink>
     <NavLink to="/blog">Blog</NavLink>
Link to comment
Share on other sites

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...