If you answer yes, we store and analyse information that helps us improve the website. You can change your choice at any time at the bottom of the page. More about what we store and why.

We also store necessary information that cannot be opted out of. This makes the website work and keeps it secure.

Skip to main content

What are you looking for?

Try searching for…

useSynchronizedAnimation

A react hook to synchronize CSS animations across multiple elements.

You pass in the name of the animation you want to synchronize. The hook returns a ref, which you pass to your element. The animation on your element will be synchronized to the first animation with the same name on the page.

Bruk

Edit this page on github.com (opens in a new tab)