Signature Pad

Signature Pad is a jQuery plugin that takes advantage of HTML5 canvas element and javascript to create a flexible and smooth Signature Pad on your web page & app. For more details

HTML Code
<div>
    <canvas id="visitsignature" class="rounded-lg" style="position: relative; margin: 0; padding: 0; max-width:100%"></canvas>
</div>
Script
var canvas = document.querySelector("#visitsignature");
var signaturePad = new SignaturePad(canvas, {
    backgroundColor: 'rgb(233, 236, 239)'
});