ant-design/docs/spec/transition.en-US.md
Akshar Dave 1c41f642ae
fixed typo: added space between "movement,shape" (#51899)
Signed-off-by: Akshar Dave <37267046+akshar-dave@users.noreply.github.com>
2024-12-04 22:52:50 +08:00

3.0 KiB

group type order title
Design Patterns Principles 9 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.