Library
27.0k

Fabric.js

A simple yet powerful JavaScript HTML5 canvas library with an SVG-to-canvas parser.

#Canvas#SVG#Editor#Imaging

Overview

Fabric.js is a powerful and simple Javascript HTML5 canvas library. Fabric provides intermediate-to-advanced level of object model on top of canvas element, and has an interactive object model that’s as easy to use as standard DOM elements.

Features

  • Object Model: Treat canvas elements like simple objects (rects, circles, images).
  • SVG Parser: Easily convert SVG paths to canvas objects and back.
  • Interactivity: Selection, grouping, rotating, and scaling built-in.

Use Cases

  • Online image editors and design tools.
  • T-shirt design and customization engines.
  • Collaborative whiteboards.