Transitions: Applying transitions
Transitions help guide people as they navigate an app
TIP
M3 transitions use the legacy easing and duration system. They'll eventually be updated to use the motion physics system.
What makes a good transition?
Well-designed transitions should have these characteristics:
Follows accessibility settings
Most platforms have a reduced animation setting to help users with a sensitivity to motion. If that setting is on, transitions should:
- Use subtle fades instead of intense sliding or scaling animations
- Disable decorative effects like parallax or shape morphing
- Transitions with a default motion setting
- Transitions with a reduced motion setting turned on
Consistent
Consistently applying the right type of transition helps make apps feel cohesive and predictable to use.
Stable layouts
Use skeleton loaders so that UI elements are coherent and stable during a transition. Avoid content shifting positions or instantly popping in as it loads. It can be distracting and frustrating to use.
No jarring jump cuts
Jump cuts should generally be avoided as a default setting since they can be disorienting. Instantly transitioning from one screen to the next offers no clues to help a user orient themselves.
If pure efficiency is a top priority, like opening a menu in a productivity app, a jump cut may be preferred.
Coherent spatial model
Transitions are used to establish a coherent spatial model. This helps users understand the physical layout of an app.
Unified direction
A transition should have a unified direction of movement. Elements are grouped and move along a primary axis instead of moving in independent directions. Only important elements like hero images remain persistent throughout the transition. This helps guide a users focus.
Clean fades
Fully fade out content before fading new content in. This avoids the overlap of partially transparent elements resulting in distracting and messy frames.
If a cross fade needs to occur, keep it quick and hide it during the fastest part of the transition.
Don't slowly fade components on top of other content as they enter or exit. This creates distracting cross faded frames. If a fade is needed, like with a Dialog entering in the middle of the screen, the fade should use a short duration to hide that part of the transition.
Simple style
Transitions are not receptive to highly stylized motion. They're frequent, often occupy large portions of the screen, and are primarily meant to help users accomplish a task.
Choosing a transition pattern
Consider the following to choose the right transition for a given use case:
Container transform
This pattern is highly effective at creating a relationship between elements. It's also the most dramatic pattern in terms of style and should be reserved for the right context. Consider using it for:
- Hero moments that should be expressive
- Shallow hierarchies where you expand an element for more detail then collapse it
- Creating a seamless connection between elements
Read the research for the benefits of container transform here.
Use a container transform transition for hero moments rather than a forward and backward transition.
Forward and backward
Both Android and iOS should use platform defaults for forward and backward navigation. It's easy to implement and stays current as platforms update. They have a simple motion style suitable for such a common transition.
Lateral
Lateral transitions are used to browse peer content that's part of the same set, like navigating between tabs in a media library. By sliding content horizontally, it hints at being able to swipe the content area to navigate between peers.
Don't use a Lateral transition for navigating hierarchical screens. Sliding content the full width of the screen is excessive for a high frequency transition. It also implies an equal peer relationship which isn't accurate to the hierarchy of the screens.
Top level
When tapping a navigation bar, rail or drawer, a quick fade is used to transition to a new destination. Top level destinations aren't necessarily related, so the motion intentionally does not create a connection between screens.
A lateral transition pattern is not recommended for this type of navigation. It implies you can swipe between top level destinations which conflicts with other components like carousels or swipe-able list items.
Enter and Exit
This transition pattern is used to introduce a component in context of the screen’s main UI. It can be modal, like a dialog requiring a user to take action. Or it can allow for simultaneously using both regions of the UI, like a standard bottom sheet over a map.
Don't use this pattern for navigating hierarchical screens. Sliding content the full height of the screen is excessive and it creates an unclear relationship between screens.