--- group: Design Patterns type: Principles order: 9 title: Use Transition --- Our Gray Matter are wired to react to dynamic things like movement,shape change and color change. Transitions smooth out the jarring world of the Web, making changes appear more natural. The main purpose for Transitions is to provide an engaging interface and reinforce communication. - Adding: The added elements should inform the users how to use, and the modified elements should be recognized. - Receding: The irrelevant page elements should be removed properly. - Normal: The elements without any change on the page can be safely ignored. --- ## Maintain Context While Changing Views Slide In and Slide Out: Create an illusion of virtual space.
Carousel: Carousels are great for extending virtual space.
Accordion: Accordion helps maintain context while switching views.
--- ## Explain What Just Happened Adding an Object: Add an object in the table or chart.
Deleting an Object: Delete an object in the table or chart.
Modifying an Object: Modify an object in the table or chart.
Calling out an Object: Click the page element and call out a new object. --- ## Improve Perceived Performance If actual performance can hardly improved, there is a difference between actual performance and perceived performance. Diverting the user's attention is a good way to improve the perceived time an operation takes. --- ## Natural Motion Please refer to [Ant Motion, a motion language](https://motion.ant.design/language/basic).