Skill library

Agent skill Web motion

Motion Design

Design, implement or review motion on the web.

  • Animation
  • Framer Motion
  • GSAP

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add lottiefiles/motion-design-skill --skill motion-design --agent claude-code --yes

Check this file in your project.claude/skills/motion-design/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add lottiefiles/motion-design-skill --skill motion-design

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use the existing UI stack and a real status element. Creator MCP is relevant only to an explicitly requested rendered file and depends on host access.

View operation manual

What this skill helps with

  • Design, implement or review motion on the web.

Good for

  • Web motion and transitions
Publisher
lottiefiles
Controls
Motion Personality · primary / secondary layers · 300–400ms success sequence
Result
The settled save result is visible immediately whether or not optional success motion runs.
Skill name
motion-design

Common pitfall

Avoid this prompt

Start success motion before persistence resolves and repeat a particle loop behind the message.

The feedback should accurately convey the settled state, with controlled secondary motion.

Use these steps

  1. Inspect the project and source
  2. Apply the motion recipe
  3. Verify behavior and fallback

Project walkthrough

Design one playful but readable success response after a real save operation finishes.

Design one playful but readable success response after a real save operation finishes.

  1. Inspect the project and source

    Use the existing UI stack and a real status element. Creator MCP is relevant only to an explicitly requested rendered file and depends on host access.

    Prompt · Step 1
    Use LottieFiles Motion Design on [my save confirmation]. Read patterns/state-feedback.md. Set a playful but brief personality, identify pending and error states, and attach success to the actual resolved request. Choose a status label as the primary message and an adjacent icon as the visual focus.
  2. Apply the motion recipe

    Design one playful but readable success response after a real save operation finishes.

    Prompt · Step 2
    Show the success text immediately when the save resolves. Use a small scale pop as the primary visual and a short checkmark draw as secondary feedback within roughly 300–400ms total. Keep surrounding layout stable and show the same text and completed checkmark directly in reduced motion.
  3. Verify behavior and fallback

    The settled save result is visible immediately whether or not optional success motion runs.

    • The settled save result is visible immediately whether or not optional success motion runs.
    Prompt · Step 3
    Test pending, success and rejection in the local fixture. Confirm the success motion fires once on actual success, the message and layout remain present after settling, and reduced motion skips travel while still reporting the result.

Implementation lookup

Compare the implementation with the recipe and its expected outcome.

Inspect the implementation controlsVerify
Command or reference
Motion Personality · primary / secondary layers · 300–400ms success sequence
Examples
The settled save result is visible immediately whether or not optional success motion runs.

FAQ

What should I prepare first?

Use the existing UI stack and a real status element. Creator MCP is relevant only to an explicitly requested rendered file and depends on host access.

How do I verify the result?

The settled save result is visible immediately whether or not optional success motion runs.