Surfaces
DrylPresence
DRYL's answer to motion.dev's AnimatePresence. Blazor removes a node the
instant a render says it is gone, so conditional content normally cannot
animate away. DrylPresence keeps the child mounted while its
exit animation plays and only then drops it — so things leave as gracefully
as they arrive. Honours prefers-reduced-motion.
Show / hide — enter and exit
I scale + fade in when shown — and, crucially, animate out before I'm removed instead of just vanishing.
Transitions
Fade
Scale