# Fabric.js: 7.0 out of 10

A strong pick. 5th of 9 in [2D graphics and game engines](https://elestia.ai/opensource/2d-graphics/index.md).

Fabric.js is a mature canvas library with an interactive object model and SVG and JSON round-trips, and is still a solid pick for Canva-style design editors. It is not a game engine. It rests mostly on one maintainer, and Konva is gaining ground faster.

**Best for:** Teams building a browser design or image editor that needs selection handles, text editing, filters and SVG import/export.

## Scores

- **Overall: 7.0** (likely 6.0 to 8.1)
  - Claude Opus 5.5 (6.5): It is a strong, feature-rich choice for Canva-like editors, and it remains the most complete library for that job. Its maintenance rests on one person, it scales worse than Konva, and it has no framework bindings. Konva is growing faster and fits most interactive canvas apps better. It is not a choice for games, where Phaser or PixiJS are better.
  - GPT-6.2 Sol (7.5): Fabric.js is a strong choice when editable text, object controls, and SVG import and export are central to the product. Konva is a stronger fit for React teams that prioritize declarative bindings, PixiJS for dense animated scenes, and Phaser for games that need physics and scene management. Below-baseline install growth, a six-month release gap, and upgrade friction temper the recommendation even though repository work continues.
- **Needed by many: 4.3** (likely 3.2 to 5.4)
  - Claude Opus 5.5 (4.0): Its use case is interactive canvas editing: design tools, image editors, whiteboards and diagram surfaces. That is a clear niche within web development. It is not meant for games, which is half of this category's job.
  - GPT-6.2 Sol (4.5): Editable canvases serve several established web niches, including design tools, image annotation, and product customization. Fabric.js works across frontend frameworks and focuses on object editing, which covers only part of the category’s rendering and game workloads. The survey gives context for graphics tool use, while demand for editable canvases specifically is hard to measure.
- **Helps a lot: 7.5** (likely 6.5 to 8.5)
  - Claude Opus 5.5 (7.0): Its object model, controls, text editing, filters and serialization are the richest of any canvas library for building editors, and v7 added cropping and gradient controls. Performance falls off with many objects. It has no framework bindings, and undo/redo is left to the app. Konva does interactive UIs and React work better.
  - GPT-6.2 Sol (8.0): The typed API handles selection, transforms, editable text, and serialization with little editor code. SVG round-tripping has gaps, and a confirmed JSON-load bug remains in 7.4.0. Older examples use different imports, which can trip up coding agents. An independent dense-scene benchmark favored PixiJS and Konva, though its older, informal test gives limited evidence about current editor performance.
- **Holds up over time: 6.1** (likely 4.8 to 7.5)
  - Claude Opus 5.5 (5.5): It is still maintained: 210 commits and 8 releases in the last year, and v7 shipped in December 2025. But there has been no release in six months, and most of the work comes from one maintainer with modest sponsorship. The project has 15 years of continuity, but the bus factor and Konva's faster growth keep the score in the middle.
  - GPT-6.2 Sol (6.7): Fabric.js logged 210 commits and eight GitHub releases over the year, with activity in November and a stable release gap since May. A reported October bug drew a maintainer reply in two days and a merged fix within two weeks. GitHub funding supported security work, and one account triggered the recent release runs. The planned package split and a production user’s report of costly major upgrades add uncertainty.
- **Used widely: 5.4** (likely 4.3 to 6.6)
  - Claude Opus 5.5 (6.0): It has about 5.3M downloads per 4 weeks and 2,295 dependent repos, a large base for a canvas library. Its growth ratio of 3.5x is below the 4.1x median, and Konva grew 5.3x from a higher base. So it is losing share of new projects. Konva, PixiJS and Phaser each have more than twice as many dependent repos.
  - GPT-6.2 Sol (4.8): The package drew 5.33 million installs in four weeks, up 3.48 times year over year. That trails the 4.1-times catalog baseline and every listed peer’s growth ratio, suggesting a falling share of installs. Its 2,295 indexed repositories and 690 npm dependents show established use, with fewer indexed repositories than Konva, PixiJS, or Phaser. Partial repository coverage, repeat installs, and CDN use leave the number of projects that chose it uncertain.
- **Vouched for: 5.3** (likely 4.2 to 7.0)
  - Claude Opus 5.5 (5.0): Independent 2026 comparisons agree that it is the pick for design editors. Many commercial editors and Show HN projects are built on it, and Kittl maintains a fork. There is no survey data, and the main write-ups come from competitors or SEO-style guides.
  - GPT-6.2 Sol (5.6): Ascentspark and the independent Image Editor Framework build on v7, and a developer reported two years of production use on an e-commerce customizer. NHN’s TOAST UI Image Editor used Fabric 4 and is now archived, so it carries limited weight for v7. Current evidence is stronger for editor integrations than for large production deployments or developer satisfaction.
- **Safe: 7.9** (likely 6.8 to 8.9)
  - Claude Opus 5.5 (7.5): It has zero runtime dependencies, an MIT licence and an OpenSSF Scorecard of 9.5. Two XSS advisories in SVG export appeared in 2026, one rated high, and both were fixed in point releases along with backported fixes for earlier prototype pollution and regex slowdowns. Apps that export user-made SVG must stay current.
  - GPT-6.2 Sol (8.2): Both disclosed SVG export vulnerabilities have fixes in 7.4.0, with patched releases available by public disclosure. Fabric has an MIT license and zero required dependencies, with canvas and jsdom listed as optional dependencies for Node use. The 9.5 Scorecard shows strong review and workflow controls, while CI Tests scored 6 and packaging, release signing, and branch protection were unrated. The npm workflow requests provenance, and the recent release history shows one account triggering publication.

## Good

- Built-in move, resize and rotate controls, inline text editing, image filters and cropping controls cover much of a design editor out of the box.
- SVG import/export and toJSON/loadFromJSON serialization are the most complete among canvas libraries.
- It is written in TypeScript, ships its own types and has zero runtime dependencies.
- It has 15 years of history, a large stock of examples and tutorials, and an MIT licence.

## Bad

- It redraws the whole Canvas 2D scene on changes, so it slows down with hundreds of interactive objects and scales worse than Konva or PixiJS.
- It has no official React, Vue or Svelte bindings, and no built-in undo/redo, snapping or alignment guides.
- Maintenance rests mostly on one sponsor-funded maintainer, and there has been no release since May 2026.
- Major versions (v6 imports, v7's center origin and text positioning) force code changes, and old tutorials often target v5.

## The numbers

- Downloads, 4 weeks: 5.3M
- In a year: ×3.5
- GitHub stars: 32k
- Commits, 12 months: 210
- Last npm release: May 2026
- Advisories, 24 months: 2
- Licence: MIT
- GitHub: https://github.com/fabricjs/fabric.js
- npm: https://www.npmjs.com/package/fabric

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
