react-spring icon indicating copy to clipboard operation
react-spring copied to clipboard

Animate in order

Open WebDeg-Brian opened this issue 8 years ago • 1 comments

Hello, I just moved to your library from react-motion. Seems very promising. I'm currently working on a hero banner that looks like the following:

I want first to animate the title, then the subtitle and last the button. I have thought about 2 different solutions:

  • Using spring to animate a value from 1 to 3, and get other values based on it.
  • Using Trail, but I'm not sure how in this case

So, what can I do to achieve this? Thank you for looking into this

WebDeg-Brian avatar Dec 01 '18 11:12 WebDeg-Brian

Trail is good for this kind of stuff. I would recommend using this one.

drcmda avatar Dec 04 '18 14:12 drcmda