svg.js is a JavaScript library and toolkit for programmatically creating, modifying, and querying Scalable Vector Graphics in the browser. It functions as a programmable interface and DOM wrapper that allows developers to manipulate vector elements through a standardized API rather than writing raw XML.
The library includes a dedicated animation framework for creating fluid motion and visual transitions. This is supported by tools for path morphing and the use of timelines and easing functions to animate vector graphics.
The toolkit covers a broad range of capabilities, including geometric transformations, bounding box calculations, and the management of element styles and sets. It also provides utilities for querying elements via selectors, handling user events, and processing text and paths.