mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
1 line
3.9 KiB
JavaScript
1 line
3.9 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["d4b883c9"],{d4b883c9:function(e,a,n){"use strict";n.d(a,"__esModule",{value:!0}),n.d(a,"texts",{enumerable:!0,get:function(){return t;}}),n("b0802d53");let t=[{value:"Ant Motion",paraId:0},{value:" is an animation library based on Ant Design's principles. It is more than just a single library, but also an entire React based solution for modern applications. The goal is to help developers to apply animations in their projects with minimal efforts. Ant Motion provides animations with all levels of granularity - from single action to combination of moves.",paraId:0},{value:"Animations bring vividness to interfaces and reinforce user experiences.",paraId:1},{value:"Smooth interactions",paraId:2,tocIndex:0},{value:" - Animations can make user interactions more natural.",paraId:2,tocIndex:0},{value:"Bring vividness",paraId:2,tocIndex:0},{value:" - Animations can attract users' attention and increase users' motivation to interact by bring more vividness.",paraId:2,tocIndex:0},{value:"Define hierarchies",paraId:2,tocIndex:0},{value:" - Animations can define elements' hierarchies and logical relationships in the most intuitive way.",paraId:2,tocIndex:0},{value:"Provide feedbacks",paraId:2,tocIndex:0},{value:" - Animations can reinforce user experiences by providing motional feedbacks.",paraId:2,tocIndex:0},{value:"We can determine if an animation is effective or not from the following two aspects\uFF1A",paraId:3,tocIndex:1},{value:"Justified",paraId:4,tocIndex:1},{value:" - Is this animation necessary? Does this animation help its users to digest the information? An effective animation should not be redundant.",paraId:4,tocIndex:1},{value:"Performant",paraId:4,tocIndex:1},{value:" - Is there any frame loss or lag? An effective animation must be smooth, and must not hurt the overall performance of the product.",paraId:4,tocIndex:1},{value:"Different from animations usage in typical front-office applications, animations in enterprise level applications spend a great amount of efforts on reinforcing user interactions and the effectiveness of those interactions. Therefore, we derived three animation design principles from Ant Design's core design language:",paraId:5,tocIndex:2},{value:"Intuitive animations usually are backed by law of nature. This requires the animations to be smooth so that their users can feel the animations' motion being justified. A natural animation triggers its users with positive user experiences.",paraId:6,tocIndex:3},{value:"Take button animation as an example, designers image the button as foliage on water - when you press it and release, the leave will slightly go into the water, and then pop back up, creating ripples around itself.",paraId:7,tocIndex:3},{value:"Enterprise level applications require highly effective user interactions. So is their animation design - with a transition time as minimal as possible.",paraId:8,tocIndex:4},{value:"For example, compared to appearing animations, disappearing animations should not attract too much attention from their users. They just need to be concise and clear. Therefore, disappearing animations are configured to swing out with faster velocity and no disappearing delay between each list items - they disappear all at the same time as one unit.",paraId:9,tocIndex:4},{value:"Avoid dramatic and complicated animations. A good animation will get the job done instead of frustrating its users.",paraId:10,tocIndex:5},{value:"For example, when a user expands a menu, his main focus is on the menu content, not the direction change of the arrow icon on the right. Therefore, the animation doesn't need to be very complicated and distracting; it changes just enough to indicate the transition.",paraId:11,tocIndex:5},{value:"For more details, please go to ",paraId:12,tocIndex:5},{value:"Ant Motion Animation Principles",paraId:12,tocIndex:5},{value:".",paraId:12,tocIndex:5}];}}]); |