RE

React Signature Canvas

react-signature-canvas

A React wrapper component around signature_pad. 100% test coverage, types, examples, & more. Unopinionated and heavily updated fork of react-signature-pad

Component Libraries
react
react-component
component
signature
sign
e-sign
e-signature
canvas
trim
whitespace
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB

Installation

npm install react-signature-canvas

Code example

import { Button } from "react-signature-canvas";

export function Example() {
  return (
    <div className="flex gap-2">
      <Button>Primary</Button>
      <Button variant="outline">Secondary</Button>
    </div>
  );
}

Pros & cons

Pros

  • Actively maintained by Anton Gilgur
  • 0 weekly downloads. Battle tested
  • First-class TypeScript definitions
  • Apache-2.0 licensed

Considerations

  • Adds roughly ~60 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 0 open issues on GitHub

FAQs

Alternatives & similar libraries