Agent skill Web motion
Framer Motion
Design, implement or review motion on the web.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/dylantarre/animation-principles/tree/main/skills/09-by-tool-framework/framer-motion --skill framer-motion --agent claude-code --yesCheck this file in your project.claude/skills/framer-motion/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/dylantarre/animation-principles/tree/main/skills/09-by-tool-framework/framer-motion --skill framer-motionSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. A React project using a compatible Motion version and one original controllable status cue. The current examples use motion/react, which needs React 18.2 or newer.
View operation manualWhat this skill helps with
- Design, implement or review motion on the web.
Good for
- Web motion and transitions
- Publisher
- dylantarre
- Control points
- motion keyframes · transition.times · y · scaleY
- Result
- A short, replayable keyframe sequence with visual beats that support the actual status change.
- Skill name
framer-motion- Repository
dylantarre/animation-principles
Common pitfall
Avoid this prompt
Animate every card and status label using the same overshooting transition.
Multiple competing motions obscure the main action, and repeated movers weaken the connection to the status change.
Use these steps
- Inspect the original target
- Apply the documented technique
- Verify the result in the project
Project walkthrough
Use anticipation and follow-through to explain one user-triggered movement in an original interface.
Use anticipation and follow-through to explain one user-triggered movement in an original interface.
Inspect the original target
Inspect the original target
Prompt · Step 1Use dylantarre’s Framer Motion skill on [my original Add bookmark confirmation]. Identify the state update and one decorative marker that can show preparation, lift, and settle. Record the current Motion package and the requested reduced-motion behavior.Apply the documented technique
Apply the documented technique
Prompt · Step 2On the marker only, author y poses [0, 4, -12, 0] and subtle scaleY poses with the same number of values. Use matching times such as [0, 0.18, 0.58, 1] and a short explicit duration. Keep the text state immediate and supply an immediate static marker under reduced motion. Use current motion/react imports if this app uses the motion package.Verify the result in the project
The visible anticipation, lift and settle occur in order without delaying the semantic status.
- The visible anticipation, lift and settle occur in order without delaying the semantic status.
Prompt · Step 3Activate the button and inspect the marker first moving slightly opposite the lift, then lifting and settling at its starting y. Trigger the action again to check replay. Open a fresh view with reduced motion already enabled, and verify the same confirmation appears while the marker stays still.
Implementation lookup
Find the input and the expected observation for the selected workflow.
Check the control pointsInputs
- Command or reference
motion keyframes · transition.times · y · scaleY- Examples
- The visible anticipation, lift and settle occur in order without delaying the semantic status.
FAQ
What must match transition.times?
The populated times list should have one entry per keyframe of that animated property.
Where can I verify the version?
Open the publisher’s pinned Skill source and compare the API references with the application’s lockfile.