Skip to content
R

react-canvas-draw

A simple yet powerful canvas-drawing component for React

by mbeierlingFree

#468in UI Libraries
0In stores

Description

react-canvas-draw is a React component for drawing on a canvas, with a simple API and many options. The basic CanvasDraw component gives a w…

Highlights

  • Drawing component with brush colour and lazy radius
  • Background images that scale to fit the canvas
  • Pinch zoom, panning and bounded lines
  • Save and load drawings at any canvas size

Ratings & Reviews

No ratings yet

Be the first to rate react-canvas-draw.

People also visit

R

react-sketch-canvas

Freehand vector drawing tool for React using SVG as canvas

UI Libraries
Launch
R

react-sketch

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

UI Libraries
Launch
R

react-sketch-canvas

Freehand vector drawing component 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-easy-panzoom

Wrapper to enable pan and zoom for any React component

UI Libraries
Launch
R

react-svg-pan-zoom

A React component that adds pan and zoom features to SVG

UI Libraries
Launch

react-canvas-draw FAQ

What is react-canvas-draw?

A simple React component for drawing on an HTML canvas, with options for brushes, backgrounds, zoom and saving drawings.

Can users save and load drawings?

Yes. You can load a saved drawing with the loadSaveData method or the saveData prop, and it scales to the current canvas size.

Can I use a background image?

Yes. Set the imgSrc prop and the image resizes to fit the canvas and is centred.

How does zooming work?

Set the enablePanAndZoom prop to allow mouse scrolling and panning with Ctrl, pinch zooming and two-finger panning.

Is it free?

Yes. The examples and source are on GitHub, so it is open source.

What are the best react-canvas-draw alternatives?

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

Developer Stuff

Badges