The lightweight library for manipulating and animating SVG https://svgjs.dev
  • JavaScript 98.6%
  • HTML 1%
  • CSS 0.4%
Find a file
Ulrich-Matthias Schäfer a73d82c9bd release 3.2.5
2025-09-15 18:20:27 +02:00
.config update babel transform runtime version 2024-06-18 11:59:34 +02:00
.github dependency updates, easier formatting 2023-06-13 01:43:37 +02:00
bench update dependencies 2024-06-18 11:01:45 +02:00
playgrounds dependency updates, easier formatting 2023-06-13 01:43:37 +02:00
spec fix: allow leading comment when creating svg element from string 2025-09-15 13:19:28 +02:00
src release 3.2.5 2025-09-15 18:20:27 +02:00
.eslintrc.json dependency updates, easier formatting 2023-06-13 01:43:37 +02:00
.gitignore allow 0 as animation duration and delay (fixes #1125) 2023-09-03 07:21:41 +02:00
.prettierignore dependency updates, easier formatting 2023-06-13 01:43:37 +02:00
.prettierrc.json dependency updates, easier formatting 2023-06-13 01:43:37 +02:00
.travis.yml dependency updates, easier formatting 2023-06-13 01:43:37 +02:00
CHANGELOG.md release 3.2.5 2025-09-15 18:20:27 +02:00
LICENSE.txt fix playgrounds, delete unneeded files 2018-12-01 17:24:04 +01:00
package-lock.json update dependencies 2024-06-18 11:01:45 +02:00
package.json release 3.2.5 2025-09-15 18:20:27 +02:00
README.md dependency updates, easier formatting 2023-06-13 01:43:37 +02:00
svg.js.d.ts release 3.2.5 2025-09-15 18:20:27 +02:00
tsconfig.json add more events to sugar (fixes #1217) 2023-09-03 14:09:36 +02:00

SVG.js

Build Status Coverage Status Cdnjs jsdelivr Join the chat at https://gitter.im/svgdotjs/svg.js Twitter

A lightweight library for manipulating and animating SVG, without any dependencies.

SVG.js is licensed under the terms of the MIT License.

Installation

Npm:

npm install @svgdotjs/svg.js

Yarn:

yarn add @svgdotjs/svg.js

CDNs:

https://cdnjs.com/libraries/svg.js
https://cdn.jsdelivr.net/npm/@svgdotjs/svg.js
https://unpkg.com/@svgdotjs/svg.js

Documentation

Check svgjs.dev to learn more.

Donate or Sponsor