# fabricjs/fabric.js

Javascript Canvas Library, SVG-to-Canvas (& canvas-to-SVG) Parser

Repository: https://github.com/fabricjs/fabric.js
Canonical: https://ross.abutalabs.com/products/fabricjs
Homepage: http://fabricjs.com
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-18T17:25:50+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 84, longevity 100
- inputs: {"age_days": 5929, "days_push": 15, "days_rel": 107, "gap_med": 9.5, "n_releases_24m": 31}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 31412, forks 3624 (observed 2026-08-28T04:11:56.825594+00:00)

## What it is
Fabric.js is a powerful JavaScript HTML5 canvas library that provides an interactive object model on top of the canvas element, with built-in shapes, controls, animations, image filters, and SVG/JSON serialization. It includes an SVG-to-Canvas and canvas-to-SVG parser and is written in TypeScript.

## Use cases
- build interactive canvas editors with drag, scale, and rotate
- convert SVG files to canvas and back
- add on-canvas text editing with rich styling
- apply WebGL image filters to pictures
- create zoomable and pannable canvas views
- serialize canvas scenes to JSON for saving

## When to choose
- you need an interactive object model over HTML5 canvas
- you want SVG import/export in a web drawing app
- you need built-in transformations, grouping, and clip paths
- you want a typed, modular, well-tested canvas library

## When to avoid
- you only need static chart rendering (use a charting library)
- you need IE11 or Edge Legacy support
- you want a full design tool out of the box rather than a library
- you need server-side rasterization beyond Node.js canvas support

## Facets
- artifact type: library
- maturity: stable
- function: image-processing, animation, parser, serialization, ui-components
- domain: web-development, frontend, graphics, image-processing
- platform: browser, cross-platform
- tags: canvas, html5-canvas, svg, typescript, drawing, interactive-graphics, image-filters, webgl, nodejs

## Member repositories
- fabricjs/fabric.js (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:56.825594+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-29T16:52:17.270787+00:00, confidence not recorded.
  - readme: https://github.com/fabricjs/fabric.js (fetched 2026-08-28T04:11:56.825594+00:00, sha d427d3259609)
  - homepage: http://fabricjs.com (fetched 2026-08-29T07:49:40.471495+00:00, sha 5d82ecea1765)
  - site_page: https://fabricjs.com/docs (fetched 2026-08-29T07:49:40.481378+00:00, sha 1d9a07cb3706)
- Data as of 2026-08-30T08:39:29.467469+00:00.
