Skip to content
cccskills
FreePublished on GitHub

motion-system

Define shared rules for animation across a product, including duration, changes in speed, and coordination between elements. Specify reusable design values and reduced-motion behavior so teams can apply and document consistent motion throughout the interface.

OriginalShow the original description

Define motion tokens — durations, easing vocabulary, and reduced-motion handling — for consistency product-wide. Use when standardising motion across a system. For crafting one specific animation, use `animation-principles` (interaction-design).

Run score Not tested

See how to install

Good for

  • Standardize animation across product components
  • Define shared duration and easing values
  • Design behavior for reduced-motion preferences
  • Document rules for coordinating multiple animations

Files included (1)

  • SKILL.md4.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Motion System

You are an expert in defining motion as a systematic design token layer, not a collection of one-off animations.

What You Do

You define the motion vocabulary for a product — duration scales, easing curves, choreography rules, and accessibility handling — so animation decisions are consistent, purposeful, and implementable by any team.

Why a Motion System

Without a system, animation decisions are made ad hoc: each component has its own duration and easing, transitions feel inconsistent, and there's no shared language between design and engineering. A motion system makes animation decisions as deliberate as color or type choices.

Duration Tokens

Define a small set of named duration values. Example scale:

TokenValueUse
duration-instant50msState changes that must feel immediate (checkbox tick, toggle)
duration-fast100msSmall element transitions (tooltip appear, chip dismiss)
duration-normal200msDefault for most transitions (dropdown open, focus ring)
duration-moderate300msMedium element transitions (modal entry, panel slide)
duration-slow400msPage-level transitions, complex choreography
duration-deliberate600msIntentionally paced, high-emphasis moments (onboarding reveal)
Don't create more tokens than you have distinct use cases. 4–6 values is usually enough.

Easing Tokens

Define named easing curves mapped to semantic use cases:

TokenCurveUse
ease-standardcubic-bezier(0.2, 0, 0, 1)Most UI transitions — elements moving between states
ease-deceleratecubic-bezier(0, 0, 0.2, 1)Elements entering the screen
ease-acceleratecubic-bezier(0.3, 0, 1, 0.3)Elements leaving the screen
ease-springspring / cubic-bezier(0.34, 1.56, 0.64, 1)Playful or tactile interactions (FAB expand, drawer bounce)
ease-linearlinearLooping animations only (progress spinners, shimmer)

Choreography Rules

When multiple elements animate together:

  • Stagger: related elements entering together stagger by 30–50ms; lead with the most important
  • Coordination: elements in the same semantic group use the same duration and easing
  • Sequence total: total duration of a staggered sequence should not exceed 500ms
  • Direction consistency: if elements slide in from the right, related outgoing elements slide out to the left

Reduced Motion

The prefers-reduced-motion: reduce media query must be handled at the system level, not component by component:

  • Disable: remove sliding, scaling, and rotation animations
  • Replace: substitute instant state changes or simple opacity fades (opacity transitions are generally acceptable)
  • Preserve: keep animations that convey essential state information (loading spinners, progress)
  • Token approach: define a duration-instant (0ms or 1ms) override for all duration tokens under reduced-motion, applied globally

Implementation

  • Define duration and easing values as CSS custom properties (or platform-equivalent tokens)
  • Apply reduced-motion overrides at the :root level within a prefers-reduced-motion query
  • Document each token with: name, value, use case, and a live example
  • Include motion tokens in the design token export pipeline — they should live alongside color and spacing tokens

Motion Principles (to define per product)

Every product's motion system should be grounded in 3–5 principles:

  • Example: "Purposeful — every animation communicates a state change or relationship"
  • Example: "Quick — UI motion is never slow; we respect users' time"
  • Example: "Physical — motion follows natural physics; decelerate on entry, accelerate on exit"
  • Example: "Accessible — all motion respects user preferences and never causes discomfort"

Best Practices

  • Start with fewer tokens and add only when a new use case genuinely doesn't fit existing values
  • Test all motion on low-powered devices — what's smooth in design tools can be janky in production
  • Include motion in design QA checklists alongside color and spacing
  • Document what should NOT animate as clearly as what should — not everything moves

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

a-b-test-design

FreeSummary

Plan A/B experiments to measure the effect of a design change. Define a hypothesis, control and treatment versions, success metrics, sample size, and duration, with supporting measures to detect unintended consequences.

  • Planning a comparison between current and proposed designs
  • Defining success metrics for a change
  • Estimating sample size and test duration
Owl-Listener/designer-skills3KUpdated Sep 6, 2026

Assess an existing interface against WCAG 2.2 accessibility guidelines. Identify barriers in content and interactions, rate their severity and user impact, and document affected locations, remediation steps, and code examples to guide improvements.

  • Reviewing accessibility in an existing design or build
  • Checking keyboard access and assistive technology compatibility
  • Prioritizing fixes by severity and user impact
Owl-Listener/designer-skills3KUpdated Sep 6, 2026

Plan accessibility testing with people who use assistive technologies, such as screen readers and voice control. Define participant criteria, test environments, session procedures, coverage of WCAG accessibility guidelines, and a consistent format for reporting issues.

  • Planning test sessions with assistive technology users
  • Defining participant recruitment criteria
  • Mapping key user flows to test environments
Owl-Listener/designer-skills3KUpdated Sep 6, 2026

Review visual consistency to understand how an interface shapes trust and perceived ease of use. Examine spacing, alignment, typography, and overlooked screen states to guide visual improvements alongside usability testing.

  • Investigating poor feedback on a functional interface
  • Checking visual consistency before launch
  • Reviewing error, empty, and loading states
Owl-Listener/designer-skills3KUpdated Sep 6, 2026

affinity-diagram

FreeSummary

Turn interview notes, observations, and survey responses into themes and actionable research insights. Group related evidence without preset categories, retain participant references, and prioritize findings by their impact on design decisions while noting patterns found in only one interview.

  • Synthesize findings across multiple interviews
  • Organize observation notes and survey responses
  • Prioritize research insights for design decisions
Owl-Listener/designer-skills3KUpdated Sep 6, 2026

Refine a specific interface animation by choosing easing, meaning changes in speed, along with duration and movement order. Use it to tune buttons, modals, transitions, or loading indicators so motion guides attention and communicates changes.

  • Tune how a modal enters and exits
  • Adjust button and toggle animations
  • Coordinate the order of related movements
Owl-Listener/designer-skills3KUpdated Sep 6, 2026

See all skills by Owl-Listener

Report a problem with this skill