Animate with NextJS and Framer Motion
This example animates Boxes on page-transition.
To make Framer Motion's
staggerChildren
work correctly, this example uses imperative routing instead of Next’sLink
-Component. IfstaggerChildren
is not needed, check out /docs/nextjs#combine-box-with-link.
More Information: https://nextjs.org/docs/routing/imperatively