Skip to content

Animation & Motion

Reduced Motion

Free

Audit animations and provide an equivalent instant state when the user asks for less motion.

Difficulty intermediate

Purpose

Make motion optional for vestibular comfort without removing functionality.

Procedure

--- name: reduced-motion description: Audit animations and provide an equivalent instant state when the user asks for less motion. ---

Reduced Motion

Purpose

Make motion optional for vestibular comfort without removing functionality.

Procedure

Search the files you are touching for animate-, transition, @keyframes, requestAnimationFrame, and motion-library components.

For each:

  • If the motion is decorative, it must not run when prefers-reduced-motion: reduce matches. Snap to the final state.
  • If the motion conveys something essential (a progress change, which step is current), keep a non-motion alternative: text, a static highlight, or an instant change.
  • Autoplaying video or looping backgrounds pause or do not render.
  • Parallax and scroll-jacking are removed, not slowed down.

Test by emulating the media query, not by deleting the CSS and hoping. Keyboard and screen-reader behavior stays the same. Reduced motion is not a reason to drop focus management.

Do not add a custom "reduce motion" toggle unless the product already has a preference store. The operating system setting is the default authority.

Example requests

1. Audit motion

Request: Run Reduced Motion on the shell and the dialog. List what you changed. Expected: Essential information remains, decorative motion snaps to the end state.

Dependencies

None. Work in the repository that is already open. Do not add packages unless the procedure names one.

Compatibility

This document follows the Agent Skills layout (a folder named reduced-motion containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it. Last verified 2026-11-15.

Example prompts

Audit motion

Run Reduced Motion on the shell and the dialog. List what you changed.

Expected: Essential information remains, decorative motion snaps to the end state.

Install for Claude Code

  1. 1Copy Reduced Motion. The file you want is SKILL.md.
  2. 2For this repository, create the folder and save the file at .claude/skills/reduced-motion/SKILL.md.
  3. 3To use it on every project on this machine, use ~/.claude/skills/reduced-motion/SKILL.md instead.
  4. 4The folder name must be reduced-motion. It has to match the name inside the file.
  5. 5Start a new Claude Code session. It reads the skill when the session starts.
  6. 6Ask Claude Code to use Reduced Motion, or describe the task in the words from the skill summary.

Related

  • Motion Rules

    Add motion only to explain a change: 150โ€“250ms, ease-out, and a reduced-motion path.

  • Scroll Restraint

    Use scroll-linked motion rarely, and never to hide content the reader needs.

  • Accessibility Engineering

    Fix semantics, names, focus, and keyboard paths on the UI you are already editing.

Reviews

No reviews yet.

    Sign in to review.

    Report a problem

    Inaccurate steps, an unsafe instruction, or a licensing concern.

    Sign in to report.