Skill library

Agent skill Web motion

Make Interfaces Feel Better

Make interface behavior and feedback feel clear and intentional.

  • Microinteractions
  • Interaction design

Install the skill

Installation method

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

npx skills@latest add jakubkrehel/make-interfaces-feel-better --skill make-interfaces-feel-better --agent claude-code --yes

Check this file in your project.claude/skills/make-interfaces-feel-better/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add jakubkrehel/make-interfaces-feel-better --skill make-interfaces-feel-better

    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 toggle and check its dependency manifest. The CSS-only branch is suitable for an interface with no Motion dependency.

View operation manual

What this skill helps with

  • Make interface behavior and feedback feel clear and intentional.

Good for

  • Interaction and feedback
Publisher
Jakub Krehel
Controls
opacity 0→1 · scale .25→1 · blur 4px→0 · cubic-bezier(.2, 0, 0, 1)
Result
The icon reverses from its current pose and the underlying button state updates immediately.
Skill name
make-interfaces-feel-better

Common pitfall

Avoid this prompt

Run full keyframe sequences for both toggle directions and replace the active icon node on every click.

A transition can reverse smoothly with both icon layers mounted. The underlying toggle state stays authoritative.

Use these steps

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

Project walkthrough

Give a toggle icon a short transition that can reverse without losing its control state.

Give a toggle icon a short transition that can reverse without losing its control state.

  1. Inspect the project and source

    Use the existing toggle and check its dependency manifest. The CSS-only branch is suitable for an interface with no Motion dependency.

    Prompt · Step 1
    Use Make Interfaces Feel Better on [my panel toggle]. Read Contextual Icon Animations in animations.md. Find the existing button state, accessible label, icon slots, and Motion dependency if present. Keep a single actionable control.
  2. Apply the motion recipe

    Give a toggle icon a short transition that can reverse without losing its control state.

    Prompt · Step 2
    For a CSS-only project mount both decorative icons in the same slot, hide them from assistive technology, and transition opacity 0–1, scale 0.25–1 and blur 4px–0 with cubic-bezier(0.2, 0, 0, 1). Update the semantic state on activation and disable the visual transitions in reduced motion.
  3. Verify behavior and fallback

    The icon reverses from its current pose and the underlying button state updates immediately.

    • The icon reverses from its current pose and the underlying button state updates immediately.
    Prompt · Step 3
    Toggle twice before the first visual transition completes. Verify the icon reverses and settles back in the starting state without excess queueing, the same button keeps focus, and the reported toggle state matches its final icon. Repeat with reduced motion.

Implementation lookup

Compare the implementation with the recipe and its expected outcome.

Inspect the implementation controlsVerify
Command or reference
opacity 0→1 · scale .25→1 · blur 4px→0 · cubic-bezier(.2, 0, 0, 1)
Examples
The icon reverses from its current pose and the underlying button state updates immediately.

FAQ

What should I prepare first?

Use the existing toggle and check its dependency manifest. The CSS-only branch is suitable for an interface with no Motion dependency.

How do I verify the result?

The icon reverses from its current pose and the underlying button state updates immediately.