Micro-interaction, explained
They answer quiet questions: did my click work, is this loading, can I press this? Good ones are so natural that people barely notice them.
Each one has a simple shape: a trigger, such as a tap or scroll, a response, and an end state. Keeping them short helps, because the visitor is trying to get something done.
For speed, animate transform and opacity, which browsers can handle without redoing the page layout. Animating width or height is more likely to cause jank.
Respect the prefers-reduced-motion setting. Some people get unwell from movement, and the page must still work fully without the animation.



