Motion & interaction

Duration, easing, distance and interaction roles form one motion language. Movement communicates state; native events provide behavior.

Motion primitives

TokenValuePurpose
motion.duration.instant0msFocus and reduced-motion state updates.
motion.duration.fast120msSmall control feedback.
motion.duration.normal200msSurface changes.
motion.duration.slow320msContent entry.
motion.duration.linger500msEducational transition preview only.
motion.duration.loop1600msOptional indeterminate decorative loading loop.
CurveControl points
standard0.2, 0, 0, 1
enter0, 0, 0.2, 1
exit0.4, 0, 1, 1
linear0, 0, 1, 1
interaction.reveal.duration → motion.duration.slow → 320ms
interaction.dialog.duration → motion.duration.normal → 200ms
motion.distance.md → 8px
motion.scale.pressed → 0.98

Try motion and interaction

The system also respects your device’s reduced-motion preference.

Easing

An illustrative movement, rather than task progress.

Ready.

Reveal

Show requested detail without changing reading order.

Press & focus

Small feedback; immediate visible focus.

Dialog

200ms entry, immediate dismissal.

Example dialog

Press Escape to close and return focus.

Loading

A locally controlled visual example; no network request.

Stopped.

Disclosure

Native interaction with motion as an optional layer.

What changes with reduced motion?

No transition or rotation. Text, state and actions remain available.

Implementation rules

Focus is immediate. Hover never contains exclusive information. Press feedback must not replace the action. Reveal uses aria-expanded and hidden. Dialog uses native focus containment and Escape. Loading stops when work succeeds or fails, and includes a written status.

@media (prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none!important; transition:none!important; }
}