mo.js is a modular JavaScript library for web motion graphics with a declarative animation API. It includes shapes, bursts, swirls, and stagger effects for retina-ready SVG-style motion.
Overview
mo.js targets designers and front-end developers who want scripted motion in the browser without relying on timeline editors alone. Its API describes animations declaratively and supports fine-grained control over timing and easing.
Built-in modules cover HTML elements, shapes, swirls, bursts, and staggered sequences, with tutorials for common patterns. You can install via npm for bundlers such as webpack or Rollup, or load a UMD build from a CDN for quick experiments.
The project emphasizes modular custom builds to limit payload size, retina-ready rendering, and broad modern browser support across Chrome, Firefox, Safari, Opera, and Edge versions listed in the docs. Documentation covers getting started, API reference, and integration examples including React usage.
Key features
- Declarative animation API
- Shape, burst, and swirl modules
- Staggered motion sequences
- Retina-ready SVG effects
- NPM and CDN distribution
- Modular custom builds
- React usage guidance
Use cases
- Micro-interactions on marketing pages
- Animated icons and loaders
- Storytelling motion in web UIs
- Prototyping burst and swirl effects