Signature Pad

pro

Canvas-based signature pad that uploads the signature as SVG.

Overview

The Signature Pad lets users draw their signature using mouse or trackpad. The signature is captured as SVG, uploaded to a configurable endpoint, and the resulting URL is stored in the form data.

Properties

PropertyTypeDefaultDescription
nameString"signature"Field name used in form data.
labelString"Signature"Label displayed above the pad.
heightNumber200Canvas height in pixels.
strokeColorColor"#111111"Ink color for drawing.
lineWidthNumber2Stroke width (1-8).
helperTextString"Sign with your mouse or trackpad"Placeholder text when empty.
clearLabelString"Clear"Text on the clear button.
uploadUrlString"https://framerformkit.com/api/formkit/upload"API endpoint for saving the signature.
requiredBooleanfalseWhether a signature must be provided.

Features

  • Canvas-based drawing with @uiw/react-signature
  • Auto-uploads signature as SVG to configurable endpoint
  • 1-second debounced upload (avoids spam during multi-stroke drawing)
  • Clear button with configurable label
  • Upload status indicator
  • Shows existing signature as image when value exists

Tips

The default upload URL points to the FormKit API. You can use your own endpoint if preferred.
Signatures are stored as URLs pointing to the uploaded SVG.

Related components