Pointer click animations
Use pointer animations to provide users with visual feedback when the user taps on an item. The pointer down animation slightly shrinks and tilts the pressed item, and plays when an item is first tapped. The pointer up animation, which restores the item to its original position, is played when the user releases the pointer.
Important APIs: PointerUpThemeAnimation class, PointerDownThemeAnimation class
Do's and don'ts
- When you use a pointer up animation, immediately trigger the animation when the user releases the pointer. This provides instant feedback to the user that their action has been recognized, even if the action triggered by the tap (such as navigating to a new page) is slower to respond.
Related articles
- Animations overview
- Animating pointer clicks
- Quickstart: Animating your UI using library animations
- PointerUpThemeAnimation class
- PointerDownThemeAnimation class
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Windows developer