# XWUISignaturePad

Canvas signature pad for capturing user signatures with clear / save controls.

## Basic Usage

Default black pen on white canvas.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Default black pen on white canvas.
```

## Blue Pen

Custom pen colour, width and background.

```example
file: examples/BluePen.ts
html: examples/BluePen.html
title: Blue Pen
description: Custom pen colour, width and background.
```

## Consent Form

A document-signing flow that gates a custom submit button on the onChange signal.

```example
file: examples/ConsentForm.ts
html: examples/ConsentForm.html
title: Consent Form
description: Hides the built-in Save and uses onChange to enable a Submit-consent button once a signature exists, reading it via getImageData().
```

## Delivery Proof

A courier proof-of-delivery pad with a live status badge and PNG thumbnail preview.

```example
file: examples/DeliveryProof.ts
html: examples/DeliveryProof.html
title: Delivery Proof
description: High-contrast dark pad whose onChange flips a status badge to Signed and renders a thumbnail from exportAsPNG().
```

```api
```
