Skip to content

Need help with creating an animation #1947

Discussion options

You must be logged in to vote

I would use useSprings where each item has it's own spring. If you remove the scaling of the items, it's just an infinite carousel so you could check out this guide – https://ironeko.com/posts/ininite-carousel-with-react-spring-how-to and then you include the scaling effect to the items that require it via the springs, note I've used the word scale, I would not change the font-size etc. I would just scale the element.

To do this isn't crazy hard, but imo it's a difficult animation to do, so just a heads up as to what you're getting yourself into.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AlexanderPershin
Comment options

@joshuaellis
Comment options

@AlexanderPershin
Comment options

Answer selected by AlexanderPershin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants