st-signature is simple Stencil component that enables the user to sign on screen and to get the bitmap of the signature. The component is based on an article I wrote a few years ago: Building a Signature Control Using Canvas.
To try this component:
git clone https://github.com/gilf/st-signature.git my-app
cd my-app
git remote rm origin
and run:
npm install
npm start
- Put the component script tag in the head of your index.html
- Then you can use the element
<st-signature>
anywhere in your template, JSX, html etc