animation

Design UI animations with transform and opacity effects and reduced-motion fallbacks.

Updated May 8, 2026
One-click install
npx skills add https://github.com/mmartinsoliv/dotfiles --skill animation-mmartinsoliv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: animation
Source: https://github.com/mmartinsoliv/dotfiles/tree/main/agents/skills/animation
Command: npx skills add https://github.com/mmartinsoliv/dotfiles --skill animation-mmartinsoliv

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you create UI motion that feels responsive, polished, and accessible without sacrificing performance or usability.

Core Features & Use Cases

  • Timing and easing guidance: Choose short, natural durations and approved easing curves for transitions and animations.
  • Performance-safe motion: Favor transform and opacity-based effects so interfaces stay smooth under load.
  • Accessible interaction patterns: Add hover behavior carefully and respect reduced-motion preferences for users who need them.
  • Use case: Animate a dropdown, card reveal, or button hover state with consistent motion rules and a safe fallback for motion-sensitive users.

Quick Start

Use the animation skill to design a 250ms hover transition for a button and include a reduced-motion fallback.

Frequently Asked Questions about animation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create accessible UI animations with reduced-motion fallbacks?

Accessible UI animations require short durations, approved easing curves, and reduced-motion fallbacks. You should favor transform and opacity-based effects to maintain performance while respecting motion-sensitive user preferences.

What is the best way to animate a hover effect in CSS without hurting performance?

The best way to animate CSS hover effects is using short durations with transform and opacity-based transitions. This approach keeps interfaces smooth under load while applying consistent, approved easing curves for natural motion.

How do I configure Framer Motion springs for interactive UI components?

Configuring Framer Motion springs for interactive UI components involves applying approved easing curves and short, natural durations across interactive states. This ensures interface transitions remain responsive and performant.

Does this approach to UI motion support dropdown and card reveal transitions?

Yes, this approach supports dropdown and card reveal transitions by applying consistent motion rules. It uses transform and opacity-based animation with short durations to keep web component reveals smooth and accessible.

Why does my web animation feel slow or janky under load?

Web animations feel slow under load when they use non-transform or non-opacity properties. You should switch to transform and opacity-based effects with short durations to keep UI transitions performant.

When do I need a reduced-motion fallback for interface transitions?

You need a reduced-motion fallback whenever adding hover behavior or interactive UI animations. It ensures motion-sensitive users can safely navigate interface transitions by respecting their reduced-motion preferences.