Ani

FreestyleJS Ani

A type-safe, compositional library for building declarative, reusable, and interactive animations in modern web frameworks.

Philosophy

FreestyleJS Ani is a declarative and compositional animation library designed for the modern web. It provides a set of powerful, type-safe primitives to define complex animation structures that can be reused and controlled with precision, offering dedicated, high-performance bindings for React, Solid, Svelte, and Vue.

The core philosophy is to separate an animation's declarative structure from its imperative execution. You define a complex animation once as a static tree, and then use a controller to play it many times with different runtime values.

6x Smaller Bundle Size, but Powerful.

It is also much smaller compared to other animation libraries.

  • ani = 4.8kB
  • motion = 31.1kB
  • anime.js = 30.8kB
  • gsap = 26.6kB

Core Features

What is Next?