Starts immediately, uses an accelerating curve and the shorter duration. Nothing on it needs to stay readable, so its opacity can fall well before the movement completes.
--md-sys-motion-easing-emphasized-acceleratePicking the pattern is the design decision. Wiring it is where transitions usually go wrong — two surfaces animating independently, a back gesture that does not undo the forward one, or a z-order that puts the outgoing screen on top. These are the mechanics.
Starts immediately, uses an accelerating curve and the shorter duration. Nothing on it needs to stay readable, so its opacity can fall well before the movement completes.
--md-sys-motion-easing-emphasized-accelerateDecelerates into place over the longer duration. If it also fades, the fade finishes before the movement does, so the content is legible while it is still settling.
--md-sys-motion-easing-emphasized-decelerateOverlapping the two is what makes a transition read as one event rather than two. A hard hand-off — outgoing fully gone before incoming starts — is the most common reason a correct pattern still feels wrong.
A sheet opening over part of the screen. Values are live, so they follow the scheme and speed you have set.
/* incoming sheet — decelerates into place */
.sheet[data-state='open'] {
animation-name: sheet-enter;
animation-duration: 300ms;
animation-timing-function: var(--md-sys-motion-easing-emphasized-decelerate);
animation-fill-mode: both;
}
/* outgoing scrim — leaves sooner, and faster */
.scrim[data-state='closed'] {
animation-name: scrim-exit;
animation-duration: 200ms;
animation-timing-function: var(--md-sys-motion-easing-emphasized-accelerate);
animation-fill-mode: both;
}
/* state changes inside the sheet stay on the physics system */
.sheet .chip {
transition-property: background-color, color;
transition-duration: var(--et-motion-spring-fast-effects-duration);
transition-timing-function: var(--et-motion-spring-fast-effects-easing);
}Note the split: the transition itself uses directional curves because a spring has no notion of leaving, while the state changes inside it use the physics system.