Skip to content
R

react-sketch-canvas

Freehand vector drawing component for React using SVG as canvas

by vinothpandian

#1269in UI Libraries
0In stores

Description

React Sketch Canvas is a React component for freehand drawing. It draws on an SVG canvas, so each stroke is stored as a vector shape rather…

Highlights

  • Freehand drawing on an SVG canvas
  • Mouse, touch and graphic tablet input
  • Configurable stroke, eraser and background
  • Export a sketch as a data URL
  • Requires React 18.0.0 or later

Ratings & Reviews

No ratings yet

Be the first to rate react-sketch-canvas.

People also visit

R

react-sketch

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

UI Libraries
Launch
R

react-sketch-canvas

Freehand vector drawing tool for React using SVG as canvas

UI Libraries
Launch
R

react-svg-pan-zoom

A React component that adds pan and zoom features to SVG

UI Libraries
Launch
T

tabler-icons-react

A set of over 450 free MIT-licensed high-quality SVG icons

UI Libraries
Launch
R

react-canvas-draw

A simple yet powerful canvas-drawing component for React

UI Libraries
Launch
R

react-charty

Data Visualization Component

UI Libraries
Launch

react-sketch-canvas FAQ

What is React Sketch Canvas?

A React component that lets users draw freehand on an SVG canvas.

How do I install it?

Install it with npm or pnpm, then add the component to your React app. The README has a common usage example.

Can I export the drawing?

Yes. Use a ref to export the sketch as a data URL, as shown in the README.

Which React version is needed?

React 18.0.0 or later.

What are the best react-sketch-canvas alternatives?

Popular alternatives to react-sketch-canvas include react-sketch, react-sketch-canvas and react-svg-pan-zoom. See all react-sketch-canvas alternatives

Developer Stuff

Badges