Jump to content
Search Community

Vue Router GSAP advanced transitions

gabs test
Moderator Tag

Recommended Posts

Hey gabs and welcome.

 

I assume you're talking about using a React router? Most of our regulars here don't really use React but we're very good with GSAP :) You should be able to plug any GSAP animation in no problem once you have the routing all done. 


The effect you link to is likely more complicated than you think though. You'll likely need to FLIP your transitions. We have a helper function to aid with that in simple cases that may help you out. But I think the hardest part will be getting access to both the before and after elements in React - React isn't set up well to play nicely with transitions like that by default. I'm sure there are some tutorials out there on achieving FLIP page transitions in React but I don't know of any off the top of my head.

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