Skip to content
Forms

Signature Pad

Canvas signature input with smoothed strokes, undo/clear, and data-URL output.

Import

tsx
import { SignaturePad } from "@cooud-ui/ui";
bash
npx cooud-ui add signature-pad

Examples

API Reference

Generated from the component's exported types.

SignaturePadProps

Extends Omit<HTMLAttributes<HTMLDivElement>, "onChange">

Skip SignaturePadProps props table
PropTypeDefaultDescription
onChange
(dataUrl: string | null) => voidFired when a stroke is committed, undone, or the pad is cleared. Receives a PNG data URL of the drawing, or `null` once the pad is empty again.
disabled
booleanfalseFreezes the pad: pointer input is ignored and the overlay actions disable.