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