Ux Friction

dylantarre/animation-principles/skills/12-by-problem-type/ux-friction

by dylantarre83597134ba8fNo license99 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 9 months ago

Use when animation causes user confusion, delays task completion, or creates frustration

Instructions onlyDesign & Creative
AI-generated overview

Diagnoses UI animations that confuse, delay, or frustrate users and suggests fixes.

What it does
This skill provides a diagnostic guide for user-experience friction caused by interface animations. It lists problem indicators, maps issues to animation principles such as timing, anticipation, follow through, staging, and appeal, and offers quick fixes and a troubleshooting checklist. It also shows a short code pattern for keeping elements interactive and letting users skip animations.
When to use it
Use it when animations make users wait, cause confusion about what happened, trigger repeated clicking, or lead users to abandon tasks. It suits reviewing or tuning motion in an interface where animation is suspected of harming usability.
Requirements
No scripts or tools are required; it is an instructions-only reference. The included code pattern assumes a JavaScript-capable web environment but is illustrative.

UX Friction

Diagnose animations that block, confuse, or frustrate users.

Problem Indicators

  • Users wait for animations to finish
  • Confusion about what happened
  • Repeated clicks/taps during animation
  • Users skip or abandon tasks
  • "Where did that go?" moments

Diagnosis by Principle

Timing

Issue: Animation too slow for the context Fix: Match duration to user intent. Micro-interactions: 100-200ms. Transitions: 200-400ms. Never block input.

Anticipation

Issue: Action happens without warning Fix: Add subtle anticipation cues before significant changes. A button press should show feedback before the result.

Follow Through

Issue: Animation ends abruptly Fix: Let elements settle naturally. Sudden stops feel broken. Add slight overshoot and settle.

Staging

Issue: Important changes happen outside focus Fix: Draw attention to where change occurs. If content moves, guide the eye with motion.

Appeal

Issue: Animation feels arbitrary Fix: Every animation should have clear purpose. If users question "why does this bounce?", remove it.

Quick Fixes

  1. Make animations skippable - Click/tap should complete or skip
  2. Reduce duration by 30% - Most animations are too slow
  3. Add progress indicators - For anything over 400ms
  4. Animate in user's focus area - Don't move things peripherally
  5. Remove decorative animations - If it doesn't help, it hurts

Troubleshooting Checklist

  • Can users interact during animation?
  • Is duration under 400ms for transitions?
  • Does animation communicate state change?
  • Is the animation skippable if lengthy?
  • Does motion guide attention correctly?
  • Is there feedback for user input?
  • Would removing animation hurt understanding?
  • Test with impatient users (click rapidly)

Pattern

js
// Allow interaction during animationelement.style.pointerEvents = 'auto';
// Make animation skippableelement.addEventListener('click', () => {  element.getAnimations().forEach(a => a.finish());});

Source and attribution

Source:dylantarre/animation-principlesinskills/12-by-problem-type/ux-frictionat commit8359713

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal