loading code fetching the highlighted snippet
Parent's animate flows through the descendant tree. Each child looks up the same label in its own variants map — one boolean, an orchestrated cascade.
motion.ul sets animate={isVisible ? "visible" : "hidden"}. Motion walks the
descendant motion.* tree and runs the same label on each — children
only need to register their own definitions in variants.transition objects compose with the cascade. delay: i * 0.1 on each motion.li staggers the entrance without
any orchestration logic at the parent.