Skip to content
Forms

SignaturePad

A sheet of bond paper with a revenue stamp, and a real form field. Ink thins as the pen speeds up, goes on wet and dries to blue. Sign across the stamp, undo a stroke, or type your name for a keyboard signature.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
labelstring"Signature of the party"Printed under the line, read out by screen readers.
namestring-Form field name. Sends the signature as a PNG data URL.
inkstring"#1c3f9e"Pen colour.
onChange(signature: string) => void-Called with the PNG data URL, or "" once cleared.
classNamestring"w-full max-w-lg"Set the width here. Everything scales with it.