WarUI

Motion tokens and reduced-motion support

GRID-A25-F22P2beyond-baselinePlanned

Animation durations and easings for row transitions, expand/collapse, overlays and theme changes are controlled by motion tokens. The grid honours prefers-reduced-motion by default, and apps can force motion off for performance or accessibility.

Planned. This page shows the specification from issue #205. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A grid with animated row sorting and group expand.

Expected behavior

In reduced mode, all transitions complete instantly or use only opacity cross-fades of 100ms or less. Duration changes apply live.

Planned API surface

--war-motion-duration-* tokens--war-motion-easing-* tokensmotion option ('auto'|'reduced'|'full')

Acceptance criteria

  • Under prefers-reduced-motion with motion 'auto', no transform-based animations run (pending)
  • Every grid animation reads its timing from motion tokens (pending)
  • motion 'full' overrides the OS preference only when explicitly set (documented caveat) (pending)
  • Animation end callbacks still fire when motion is reduced (pending)