Skip to main content
cngx-src documentation

CngxMotionPreference

Type Aliascore/theming

projects/core/theming/motion.ts

Referenced by#

Description#

The three motion preferences the [data-motion] axis ships (motion-tokens.css). auto is the library default: it removes the attribute so the OS prefers-reduced-motion media query drives. reduced collapses animation/transition durations app-wide; full opts back into motion even under an OS reduce preference.

Definition#

"full" | "reduced" | "auto"