What it's calledDirectional transitionslide transitionGlossary
What goes wrong
When the next step and the previous one both just fade in place, people lose track of whether they went forward or back.
The fix
Bring forward steps in from the right and earlier steps back from the left, with the old one leaving the other way.
Tell your AI
On Next, slide the new step in from the right by var(--ds-distance-lg) (16px) and the old one out to the left by the same distance; on Back, mirror both. Enter over var(--ds-duration-base) (240ms) with var(--ds-ease-out), leave over var(--ds-duration-fast) (160ms) with var(--ds-ease-in), fading opacity with the movement.