A Motion for React demo of AnimatePresence sync, wait, and popLayout modes, from the official Motion examples catalog.
"use client" import AnimatePresenceModes from "@/components/ui/motion-animate-presence-modes" export default function Default() { return ( <div className="motion-example flex w-full items-center justify-center p-8"> <AnimatePresenceModes /> </div> ) }