Motion
Motion brings meaning and a sense of life to the experience. It should be purposeful, intuitive, and seamless. It should help users be more productive and never slow them down.
Table of contents#
Principles#
Purposeful#
Spectrum’s motion is used with intention. All animations help users reach their goals by surfacing connections between states or views, drawing attention to important details, or providing feedback.
Intuitive#
Spectrum’s motion feels familiar and expected. It mirrors traits from the real world like acceleration, gravity, and volume to achieve a natural feel.
Seamless#
Spectrum’s motion fits naturally into the experience without creating distraction. The amount of motion used should be just enough to get the intention across and no more.
Easing#
Easing defines how an animation changes speed over the course of the action. In the real world, objects tend to accelerate and decelerate as they move. Spectrum uses three different types of easing.
Duration#
Be mindful when choosing the right duration. Durations should take into account the complexity of the element you are animating, the easing, and the scale of the motion.
Micro animations#
Micro animations cover a small amount of ground. Examples are color fades, hovers, accordions, tooltips, etc.
Macro animations#
Macro animations cover larger amounts of visual ground. This includes large panel or drawer reveals, movement across the screen, etc.
Duration tokens#
Native platforms#
Spectrum’s easing curves and durations are usable across most platforms. In some rare cases, you may not have the ability to modify the animation (e.g., skinned native controls). Don’t build custom components just to follow our animation guidelines, since native components allow us to leverage built-in accessibility features.
Changelog#
- This part of Spectrum is now individually versioned (individual versions of existing items start at 5.0.0)