M3 Expressive moved Material motion from duration-and-easing curves to physics springs. Each motion scheme has six spring tokens, fast, default and slow, for spatial movement (position, size, rotation) and for effects (color and opacity).
The standard scheme is calm and barely overshoots. The expressive scheme, the M3 Expressive default, uses lower damping on spatial springs, so things bounce slightly when they arrive. Effects springs never overshoot in either scheme.
Expressive spatial springs use damping 0.6 and stiffness 800 (fast), 0.8 and 380 (default), and 0.8 and 200 (slow). Standard spatial springs use damping 0.9 with stiffness 1400, 700 and 300. Effects springs use damping 1 with stiffness 3800, 1600 and 800 in both schemes. The values come from Compose's motion tokens.
Pass motionScheme = MotionScheme.expressive() to MaterialTheme (or use MaterialExpressiveTheme), then use MaterialTheme.motionScheme.defaultSpatialSpec() and the other specs as the animationSpec of your animations.
CSS has no spring timing function, but the linear() easing function can follow any curve. This tool samples the spring into a linear() easing and gives the matching duration, so a CSS transition moves like the spring.
The damping ratio sets how much the spring bounces. 1 means no overshoot, lower values bounce more. Stiffness sets how fast it moves. Higher stiffness reaches the target sooner.