Skip to content
R

react-sketch

A Sketch tool for React based applications, backed-up by FabricJS

by tbolisOpen source

#1276in UI Libraries
0In stores

Description

react-sketch is a sketch field component for React applications, built on fabric.js. Users can draw with a pencil, add lines, arrows, rectan…

Highlights

  • Pencil, lines, arrows, rectangles and circles
  • Select, move, add images and text
  • Undo and redo
  • Export as JSON or as an image
  • TypeScript declarations included

Ratings & Reviews

No ratings yet

Be the first to rate react-sketch.

People also visit

R

react-canvas-draw

A simple yet powerful canvas-drawing component for React

UI Libraries
Launch
R

react-sketch-canvas

Freehand vector drawing tool for React using SVG as canvas

UI Libraries
Launch
R

react-signature-canvas

A React wrapper component around signature_pad

UI Libraries
Launch
R

react-sketch-canvas

Freehand vector drawing component for React using SVG as canvas

UI Libraries
Launch
R

react-konva

React Konva is a JavaScript library for drawing complex canvas graphics

UI Libraries
Launch
R

react-rough-notation

This is a React wrapper for [RoughNotation](https://roughnotation.com/)

UI Libraries
Launch

react-sketch FAQ

What is react-sketch?

A sketch field component for React, built on fabric.js, that lets users draw, select and edit objects.

Which React versions does it support?

The README lists React 17, 18 and 19 as a peer dependency, which your app installs.

How do I save and load a drawing?

toJSON returns the drawing as an object. defaultValue and value accept that object, or the same object as a JSON string.

Does it include TypeScript types?

Yes. They are available in the Types namespace, for example Types.SketchProperties and Types.Tool.

Are older drawings compatible?

Drawings saved with 0.5.x load in the current version, but drawings saved with 1.0.0 do not load in 0.5.x.

What are the best react-sketch alternatives?

Popular alternatives to react-sketch include react-canvas-draw, react-sketch-canvas and react-signature-canvas. See all react-sketch alternatives

Developer Stuff

Badges