# SVG.js

> JavaScript library for manipulating and animating SVG

Worth exploring: Chain animate() calls so each animation starts after the one before it

Why it works: Each new animate() call is placed on the timeline after the previous one, so the sequence reads in code order.

Watch out: Check support for the SVG elements you need before choosing the library for your project.

- Category: Motion & animation (`motion`)
- Tags: `open-source`
- Official: https://github.com/svgdotjs/svg.js
- Docs: https://svgjs.dev/docs/3.0/
- Wunderlust: https://wunderlust.xyz/r/svg-js
- Image: https://wunderlust.xyz/media/svg-js-poster.jpg
- Video preview: https://wunderlust.xyz/media/svg-js.webm
- Added: 2026-12-04

## What it is

The library has no dependencies and can be installed with npm or Yarn, or used via a CDN. Its code is distributed under the MIT license.

## What it’s for

Developers can animate SVG elements in JavaScript projects.

## Benefits

- SVG manipulation
- Package or CDN installation

## Similar on Wunderlust

- [Theatre.js](https://wunderlust.xyz/r/theatre-js.md): Motion design library for the web
- [Lottie for Web](https://wunderlust.xyz/r/lottie-web.md): Web player for animations exported from After Effects
- [Manim Community](https://wunderlust.xyz/r/manim-community.md): Animation engine for explanatory math videos
- [GSAP](https://wunderlust.xyz/r/gsap.md): A professional JavaScript animation library with timelines and plugins
- [Apache ECharts](https://wunderlust.xyz/r/apache-echarts.md): Open-source JavaScript library for data visualization
- [Pixel2Motion](https://wunderlust.xyz/r/pixel2motion.md): Skill for turning raster logos into SVG animation
