Back to docs
Recipe
Signature Pad
A smooth, pressure-aware drawing surface for capturing signatures and sketches. Works with touch, stylus, and mouse input.
Clear
Save
Draw anywhere inside the pad. Pressure sensitivity varies by device.
Touch & Stylus
Pointer Events API with pressure and tilt support. Falls back gracefully to mouse.
Export
Canvas toDataURL produces PNG. Optional SVG path reconstruction for vector output.