Animation
spring()#
physics-based spring animation via Web Animations API
flip()#
FLIP animation for list reordering
animate()#
View Transitions API with CSS-class fallback
transition()#
CSS enter/leave transitions
One CSS contract for motion#
.${name}-enter-from|active|to / .${name}-leave-* works in transition(), show(…, { transition }), list(…, { transition }) and animate(); leave animations finish before nodes are removed, interrupts are safe (no offsetHeight reflow dance), injectStyles() ships defaults in @layer aegis
Springs#
spring() continues from the current position and velocity when interrupted and compiles to two keyframes + CSS linear(); springSignal() / tween() are values you write target to and read current from