# adobe-webplatform/Snap.svg

The JavaScript library for modern SVG graphics.

Repository: https://github.com/adobe-webplatform/Snap.svg
Canonical: https://ross.abutalabs.com/products/snapsvg
Homepage: http://snapsvg.io
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: javascript, javascript-library, snap, svg, svg-animations
Last push: 2026-06-12T11:43:39+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 35, longevity 100
- inputs: {"age_days": 4766, "days_push": 82, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14007, forks 1115 (observed 2026-08-28T04:11:05.298052+00:00)

## What it is
Snap.svg is a JavaScript library for creating, manipulating, and animating SVG graphics in modern browsers, written by the author of Raphaël. It provides a jQuery-like API for working with both generated and externally sourced SVG content, including masking, clipping, gradients, and drag-and-drop interactions.

## Use cases
- animate svg graphics in the browser
- manipulate svg files loaded from illustrator or sketch
- build interactive vector graphics for the web
- extract shapes from an svg file as a sprite sheet
- make svg elements draggable and clickable
- create resolution-independent charts and icons

## When to choose
- you need modern SVG features like masking, clipping, and full gradients
- you only target modern browsers (IE9+)
- you want to animate or manipulate existing SVG assets rather than generate them
- you want a jQuery-like API for SVG

## When to avoid
- you need to support legacy browsers like IE6-8 (use Raphaël instead)
- you want a library with frequent updates and active development
- you need WebGL or canvas-based rendering performance
- you prefer a modern framework-integrated SVG solution like D3 or React-based libraries

## Facets
- artifact type: library
- maturity: maintenance
- function: animation, ui-components, graphics
- domain: web-development, frontend, graphics
- platform: browser
- tags: svg, vector-graphics, dom-manipulation, browser-library, raphael-successor, javascript

## Member repositories
- adobe-webplatform/Snap.svg (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:05.298052+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:12:52.945795+00:00, confidence not recorded.
  - readme: https://github.com/adobe-webplatform/Snap.svg (fetched 2026-08-28T04:11:05.298052+00:00, sha c7de25ce5c5f)
  - homepage: http://snapsvg.io (fetched 2026-08-29T08:07:07.467921+00:00, sha 2d5a298a0ac3)
  - site_page: http://snapsvg.io/about (fetched 2026-08-29T08:07:07.470733+00:00, sha 42b405fe64be)
  - site_page: http://snapsvg.io/docs (fetched 2026-08-29T08:07:07.472769+00:00, sha 5cabec8132d1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
