Skill library

Agent skill Web motion

Awwwards Animations

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 devmartinese/awwwards-animations-skill --skill awwwards-animations --agent claude-code --yes

Check this file in your project.claude/skills/awwwards-animations/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add devmartinese/awwwards-animations-skill --skill awwwards-animations

    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 React with the project’s existing Motion package. The local interaction sample used motion 14.14.0.

View operation manual

What this skill helps with

  • Design, implement or review motion on the web.

Good for

  • Web motion and transitions
Publisher
devmartinese
Controls
pointer displacement × 0.3 · spring stiffness: 150 · damping: 15
Result
The inner accent follows the pointer without moving the button’s hit area.
Skill name
awwwards-animations

Common pitfall

Avoid this prompt

Move the button’s hit area and animate whenever a keyboard or touch user approaches it.

A stationary target makes pointer math and focus behavior predictable.

Use these steps

  1. Read the source and set up the example
  2. Implement the documented behavior
  3. Inspect the actual result

Project walkthrough

Give an original button a magnetic accent while keeping its clickable bounds stable.

Give an original button a magnetic accent while keeping its clickable bounds stable.

  1. Read the source and set up the example

    Use React with the project’s existing Motion package. The local interaction sample used motion 14.14.0.

    Prompt · Step 1
    Use Awwwards Animations on [my exhibition link button]. Read Magnetic Button in SKILL.md and identify the real action, the face that can move inside the target, and the fallback for touch. Keep the artwork and copy original.
  2. Implement the documented behavior

    Give an original button a magnetic accent while keeping its clickable bounds stable.

    Prompt · Step 2
    Measure the fixed button’s center. Apply 0.3 times the pointer’s relative displacement to an inner Motion span, with stiffness 150 and damping 15 as starting values. Reset the inner translation on pointer leave. Keep the real button stable, skip the effect on touch and reduced motion, and preserve keyboard focus feedback.
  3. Inspect the actual result

    The inner accent follows the pointer without moving the button’s hit area.

    • The inner accent follows the pointer without moving the button’s hit area.
    Prompt · Step 3
    Move a fine pointer along one edge and inspect the inner translation. Exit and confirm it returns while the measured button bounds stay constant. Test the same action by keyboard and touch, including reduced motion.

Implementation lookup

Compare the required inputs with the local verification result.

Inspect the implementation controlsVerify
Command or reference
pointer displacement × 0.3 · spring stiffness: 150 · damping: 15
Examples
The inner accent follows the pointer without moving the button’s hit area.

FAQ

What should I prepare first?

Use React with the project’s existing Motion package. The local interaction sample used motion 14.14.0.

How do I verify the result?

The inner accent follows the pointer without moving the button’s hit area.