Animate Plus is a compact JavaScript animation library designed for high performance and flexible authoring in modern browsers. It weighs less than 3 KB when minified and compressed and targets smooth 60 FPS animation where possible. The library can animate numeric HTML and SVG properties, including transforms, dimensions, coordinates, opacity, and hexadecimal colors. Animation values, delays, and durations can be calculated independently for each element through callback functions. Every animation returns a native Promise, making sequences easy to coordinate with chaining, Promise utilities, or async and await. Additional utilities can stop running animations or create promise-based delays. Animate Plus is distributed as an ES2015 module and is particularly suited to lightweight responsive interfaces and mobile web experiences.
Features
- HTML and SVG property animation
- Sub-3 KB compressed library size
- Per-element value, duration, and delay callbacks
- Promise-based animation sequencing
- Animation stopping and promise-based delay utilities
- Native ES2015 module distribution