/animating-icons:motion-meaningfrom animating-icons
Classifies UI motion as communicative or decorative, then fixes or applies prefers-reduced-motion so meaning survives under reduce. Use when auditing animation, gating new motion, or verifying both preference states.
Ships in animating-icons. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Reduced motion isn't about removing animation. It's about deciding what remains when animation disappears.
Ask once, before writing or patching any reduce branch:
Is the motion sequence the content, or is it decorating a result that exists either way?
Grep for prefers-reduced-motion proves almost nothing. Touches ≠ reachable ≠ correct.
| Situation | Open |
|---|---|
| Pick a strategy | references/CLASSIFY.md |
| Reduce strategies + picture stories | references/STRATEGIES.md |
| Audit / fix existing code | references/AUDIT.md |
| Code patterns (CSS / JS / React) | references/PATTERNS.md |
| Failure modes | references/FAILURES.md |
| Done coding | references/VERIFY.md + scripts/verify-reduced.mjs |
| Sources & credit | references/CREDITS.md |
Pick one of these for what the screen becomes under reduce. Picture the outcome first; then open STRATEGIES.md for the full story.
| # | Strategy | When | Under reduce looks like |
|---|---|---|---|
| 1 | Bail | Pure decoration; no honest reduced form | Effect is gone — OS cursor back, no custom layer |
| 2 | Snap to end state | Sequence is the content (staged journey) | Same final layout as the last frame of the full animation — no travel, no mid poses piled on screen |
| 3 | Collapse transition | Motion only decorates a result already in the DOM | Control jumps to the right place (tab pill, underline) — instant, not a slide |
| 4 | Reduce complexity | Cost/layers/autoplay matter, not only duration | Same silhouette, cheaper — fewer blur layers, autoplay off, fewer clones |
Always also — live preference (not a fifth “look”): read prefers-reduced-motion with a change listener (or library equivalent). One-shot .matches at mount goes stale mid-session. See PATTERNS.md.
Quick fork: decorative → 1 or 3. Communicative journey → 2. Still useful but heavy → 4.
Every animation under authorship or audit passes all four. Verify by running both preference states — never by grepping alone. Details in VERIFY.md.
Companion: icon hover gestures from animating-icons are decorative → animation: none at rest. Icon-swap is communicative → instant coordinates, no tween.
file:line + quoted snippetFull procedure: AUDIT.md.
change listener — not one-shot at mount)if (reduced) return)duration: 0 on sequence-as-content without a snap end statetransitionend / onComplete, use ~0.01ms not 0sscripts/verify-reduced.mjs (or equivalent dual-state check) run on fixtures or the pageduration: 0 everywhere"if (prefersReducedMotion) return before the function that applies the end statematchMedia(...).matches with no change listenerreferences/AUDIT.md (opens in a new tab)references/CLASSIFY.md (opens in a new tab)references/CREDITS.md (opens in a new tab)references/FAILURES.md (opens in a new tab)references/PATTERNS.md (opens in a new tab)references/STRATEGIES.md (opens in a new tab)references/VERIFY.md (opens in a new tab)scripts/fixtures/collapse-transition.html (opens in a new tab)scripts/fixtures/communicative-snap.html (opens in a new tab)scripts/fixtures/dead-branch.html (opens in a new tab)scripts/fixtures/decorative-bail.html (opens in a new tab)scripts/fixtures/reduce-complexity.html (opens in a new tab)scripts/smoke.mjs (opens in a new tab)scripts/verify-reduced.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub soralabsoss/skills --plugin animating-icons2 skills in this plugin
Other plugins' skills for the same job