- Design
- #framer-motion
- #ux
- #a11y
Modern UI Motion Strategies
Designing premium interactions without harming accessibility.
September 18, 20253 min readBy Kishan Patel

Good motion explains what is happening on the screen. It shows where something came from, confirms an action or guides the eye to what matters next. When an animation does none of these, it is usually decoration, and visitors soon stop enjoying it.
Animate transform and opacity
Browsers can usually animate transform and opacity without recalculating the page layout. Animating width, height or top forces far more work, and that is often what makes an interface stutter on an ordinary phone.
/* Slower: the browser recalculates layout on every frame */
.panel {
transition: height 300ms;
}
/* Smoother: usually handled without touching layout */
.panel {
transition: transform 300ms, opacity 300ms;
}Keep interface motion short
Buttons, menus and hover states should respond almost immediately. Around 150 to 300 milliseconds works well for most small interactions. Save longer, more expressive animation for moments people only see once, such as a page intro.

Respect reduced motion
Some people get dizzy or uncomfortable from movement on screen, and they can ask for less of it in their device settings. Check the prefers-reduced-motion media query and replace large movement with a simple fade or a still state.
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.001ms !important;
transition-duration: 0.001ms !important;
scroll-behavior: auto !important;
}
}The same check works in JavaScript, which is useful for scroll effects and libraries such as GSAP.
const reduced = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
if (!reduced) {
gsap.from(".card", { y: 28, opacity: 0, duration: 1 });
}The content must stay fully usable with every animation turned off.
Never hide content behind an animation
If text only appears after a script runs, a slow connection or a failed script can leave the page empty. Make sure the page reads correctly first, then add motion on top of it.
Test on a real phone
An effect that feels smooth on a fast laptop can struggle on a mid-range device. Before launch, check three things:
- Scrolling stays smooth while the animation runs.
- The page still works with reduced motion turned on.
- Nothing jumps or shifts once the animation ends.
Remove any animation that costs more than it adds. If you want a site with motion that still loads fast, get in touch.