ShowcaseLayout animations
Layout animations
Animate changes to size, position and order that CSS can’t, even from one component to another, with fast transforms.
<motion.img layoutId={id} onClick={() => setOpen(id)} />
<AnimatePresence>
{open && <motion.img layoutId={open} className="detail" />}
</AnimatePresence>



















































