An Angular animation library built on motion-dom, bringing Framer Motion's declarative animation patterns to Angular applications.
ng-motion is an Angular animation library built on motion-dom that brings Framer Motion's declarative animation patterns to Angular developers. It provides familiar concepts like variants, gestures, exit animations, and motion values through Angular-native APIs like directives, providers, and injection-context hooks.
ngmMotion directive with initial, animate, and exit propertiesuseMotionValue(), useSpring(), and useTransform() for reactive animation statewhileHover and whileTap bindingslayout and shared element transitions via layoutId*ngmPresence and exit animationsanimate() function and scoped useAnimate() for programmatic animationng-motion adapts Framer Motion's intuitive animation mental model to Angular's ecosystem, using directive inputs, Angular outputs, dependency injection, and injection contexts rather than attempting a direct React port.
ng-motion is an open-source alternative to the following products:
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.