Skip to content
Theme

Motion

Three durations and three curves. Every duration is zero under prefers-reduced-motion, so components honour the preference without checking it.

Durations

TokenValueUse
motion.fast150msHover and press feedback.
motion.base200msA popover or menu entering.
motion.slow300msA dialog or sheet entering.

Easing

Hover a track to run its curve over motion.slow.

TokenValuePreviewUse
motion.easecubic-bezier(0.2, 0, 0, 1)The standard curve, for things that move within the page.
motion.easeEntercubic-bezier(0, 0, 0, 1)Decelerating, for things that arrive.
motion.easeExitcubic-bezier(0.3, 0, 1, 1)Accelerating, for things that leave.