Microinteractions are small but meaningful moments: hover previews, button press feedback, focus rings, loading indicators, and subtle transitions between states. Done well, they make your UI feel responsive and trustworthy.
Treat feedback as a state machine
Instead of animating everything, define states: idle, hover, focused, active, loading, and success/error. Each state should have a clear visual difference that users can understand instantly.
- Use motion to explain changes, not to decorate.
- Keep durations consistent across the product so users learn the rhythm.
- Always provide non-motion feedback (icons, text, or borders) for accessibility.
Premium UX is predictable UX.
Focus visibility is a microinteraction
Keyboard users should never guess where they are. Make focus styles strong enough to see and consistent enough to trust. Pair focus outlines with spacing rules so it doesn't break layouts.
When you design feedback as part of your design system tokens, microinteractions become easy to implement - and hard to get wrong.