Animation
slidemotion exposes low-level animation primitives for custom components.
Core utilities
Section titled “Core utilities”interpolatefor mapping progress rangesspringandspringDurationfor physical motion- easing helpers from
slidemotion/animation createAnimationLoop,tweenMode,springModefor custom drivers
Step-aware animation
Section titled “Step-aware animation”Use useStepProgress() or useStep() when you need custom motion logic.
const progress = useStepProgress();const opacity = interpolate(progress, [0, 1], [0, 1]);Enter and exit choreography
Section titled “Enter and exit choreography”Animate and the built-in transition components now support backward exits. That makes reverse navigation feel intentional instead of abruptly unmounting content.