Confirm successful installation by checking the skill directory location:
.cursor/skills/web-animation-design
Restart Cursor to activate web-animation-design. Access via /web-animation-design in your agent's command palette.
โ
Security Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
A comprehensive guide for creating animations that feel right, based on Emil Kowalski's "Animations on the Web" course.
Initial Response
When this skill is first invoked without a specific question, respond only with:
I'm ready to help you with animations based on Emil Kowalski's animations.dev course.
Do not provide any other information until the user asks a question.
Review Format (Required)
When reviewing animations, you MUST use a markdown table. Do NOT use a list with "Before:" and "After:" on separate lines. Always output an actual markdown table like this:
Correct format: A single markdown table with | Before | After | columns, one row per issue.
Quick Start
Every animation decision starts with these questions:
Is this element entering or exiting? โ Use ease-out
Is an on-screen element moving? โ Use ease-in-out
Is this a hover/color transition? โ Use ease
Will users see this 100+ times daily? โ Don't animate it
The Easing Blueprint
ease-out (Most Common)
Use for user-initiated interactions: dropdowns, modals, tooltips, any element entering or exiting the screen.
/* Sorted weak to strong */--ease-out-quad:cubic-bezier(0.25,0.46,0.45,0.94);--ease-out-cubic:cubic-bezier(0.215,0.61,0.355,1);--ease-out-quart:cubic-bezier(0.165,0.84,0.44,1);--ease-out-quint:cubic-bezier(0.23,1,0.32,1);--ease-out-expo:cubic-bezier(0.19,1,0.22,1);--ease-out-circ:cubic-bezier(0.075,0.82,0.165,1);
Why it works: Acceleration at the start creates an instant, responsive feeling. The element "jumps" toward its destination then settles in.
ease-in-out (For Movement)
Use when elements already on screen need to move or morph. Mimics natural motion like a car accelerating then braking.
/* Sorted weak to strong */--ease-in-out-quad:cubic-bezier(0.455,0.03,0.515,0.955);--ease-in-out-cubic:cubic-bezier(0.645,0.045,0.355,1);--ease-in-out-quart:cubic-bezier(0.77,0,0.175,1);--ease-in-out-quint:cubic-bezier(0.86,0,0.07,1);--ease-in-out-expo:cubic-bezier(1,0,0,1);--ease-in-out-circ:cubic-bezier(0.785,0.135,0.15,0.86);
ease (For Hover Effects)
Use for hover states and color transitions. The asymmetrical curve (faster start, slower end) feels elegant for gentle animations.
transition: background-color 150ms ease;
linear (Avoid in UI)
Only use for:
Constant-speed animations (marquees, tickers)
Time visualization (hold-to-delete progress indicators)
Linear feels robotic and unnatural for interactive elements.
ease-in (Almost Never)
Avoid for UI animations. Makes interfaces feel sluggish because the slow start delays visual feedback.
Paired Elements Rule
Elements that animate together must use the same easing and duration. Modal + overlay, tooltip + arrow, drawer + backdropโif they move as a unit, they should feel like a unit.
/* Both use the same timing */.modal{transition: transform 200ms ease-out;}.overlay{transition: opacity 200ms ease-out;}
Timing and Duration
Duration Guidelines
Element Type
Duration
Micro-interactions
100-150ms
Standard UI (tooltips, dropdowns)
150-250ms
Modals, drawers
200-300ms
Page transitions
300-400ms
Rule: UI animations should stay under 300ms. Larger elements animate slower than smaller ones.
The Frequency Principle
Determine how often users will see the animation:
100+ times/day โ No animation (or drastically reduced)
Occasional use โ Standard animation
Rare/first-time โ Can add delight
Example: Raycast never animates its menu toggle because users open it hundreds of times daily.
When to Animate
Do animate:
Enter/exit transitions for spatial consistency
State changes that benefit from visual continuity
Responses to user actions (feedback)
Rarely-used interactions where delight adds value
Don't animate:
Keyboard-initiated actions
Hover effects on frequently-used elements
Anything users interact with 100+ times daily
When speed matters more than smoothness
Marketing vs. Product:
Marketing: More elaborate, longer durations allowed
Product: Fast, purposeful, never frivolous
Spring Animations
Springs feel more natural because they don't have fixed durationsโthey simulate real physics.
When to Use Springs
Drag interactions with momentum
Elements that should feel "alive" (Dynamic Island)
Gestures that can be interrupted mid-animation
Organic, playful interfaces
Configuration
Apple's approach (recommended):
// Duration + bounce (easier to understand){type:"spring",duration:0.5,bounce:0.2}
โบClaude Desktop or compatible AI client with skill support
โบClear understanding of task or problem to solve
โบWillingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Steps
1Install skill using provided installation command
2Test with simple use case relevant to your work
3Evaluate output quality and relevance
4Iterate on prompts to improve results
5Integrate into regular workflow if valuable
Common Pitfalls
โ Expecting perfect results without iteration
โ Not providing enough context in prompts
โ Using skill for tasks outside its intended scope
โ Accepting outputs without review and validation
Best Practices
โ Do
+Start with clear, specific prompts
+Provide relevant context and constraints
+Review and refine all outputs before using
+Iterate to improve output quality
+Document successful prompt patterns
โ Don't
โDon't use without understanding skill limitations
โDon't skip validation of outputs
โDon't share sensitive information in prompts
โDon't expect skill to replace human judgment
๐ก Pro Tips
โ Be specific about desired format and style
โ Ask for multiple options to choose from
โ Request explanations to understand reasoning
โ Combine AI efficiency with human expertise
When to Use This
โ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
โ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path
1Familiarize yourself with skill capabilities and limitations
2Start with low-risk, non-critical tasks
3Progress to more complex and valuable use cases
4Build expertise through regular use and experimentation