web-animation-design

Design web animations with CSS transforms, easing, and reduced-motion support.

160|16|Updated Dec 4, 2024
One-click install
npx skills add https://github.com/MaggieAppleton/maggieappleton.com-V3 --skill web-animation-design-maggieappleton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-animation-design
Source: https://github.com/MaggieAppleton/maggieappleton.com-V3/tree/main/.claude/skills/animation/web-animation-design
Command: npx skills add https://github.com/MaggieAppleton/maggieappleton.com-V3 --skill web-animation-design-maggieappleton

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designers and developers often struggle to create motion that feels purposeful, consistent, and accessible; this skill provides a structured approach to planning, executing, and validating web animations.

Core Features & Use Cases

  • Easing & timing guidance: choose appropriate curves and durations for entering/exiting, on-page movement, and hover states.
  • Performance & accessibility: emphasize GPU-accelerated properties, respect prefers-reduced-motion, and minimize layout thrash.
  • Real-world examples: applies to modals, tooltips, drawers, and page transitions with consistent motion language.

Quick Start

Describe a concrete UI animation scenario and request a ready-to-implement timing and easing plan.

Frequently Asked Questions about web-animation-design

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

FAQPage Schema
How do I choose the right easing and duration for UI animations?

Choosing the right easing and duration involves matching curves to UI context: shorter durations for entering and exiting elements, and adjusted timing for on-page movement and hover states to maintain consistency.

How do I make web animations accessible with prefers-reduced-motion?

Make web animations accessible by respecting the prefers-reduced-motion media query, which allows you to disable or minimize movement for users who are sensitive to motion, ensuring your UI remains usable without causing discomfort.

Why do my CSS animations cause layout thrash and poor performance?

CSS animations cause layout thrash and poor performance when animating properties that trigger layout recalculation; instead, animate GPU-accelerated properties like CSS transforms and opacity to achieve smooth, high-performance motion.

Can I use Framer Motion or GSAP for page transitions and modal animations?

You can use animation libraries like Framer Motion, GSAP, and React Spring for page transitions and modal animations, applying consistent motion language and timing plans to ensure a cohesive user experience across complex UI elements.

What is the best way to plan consistent motion for tooltips and drawers?

The best way to plan consistent motion for tooltips and drawers is to define a structured animation plan that standardizes easing curves, durations, and GPU-accelerated transforms, creating a unified motion language across all interactive UI elements.