Skip to content

Installation

To install react-sketch-canvas, you can use npm or yarn.

Installing dependencies…
npm install react-sketch-canvas

Quick Start

import { ReactSketchCanvas } from "react-sketch-canvas";

export default function App() {
  return (
    <div>
      <h1>Draw here!</h1>
      <ReactSketchCanvas
        width="100%"
        height="150px"
        canvasColor="transparent"
        strokeColor="#a855f7"
      />
    </div>
  );
}