/Blazor.SignaturePad

A Blazor UI component for smooth signature drawing on a HTML5 canvas.

Primary LanguageC#MIT LicenseMIT

Blazor Signature Pad

by obsites

Nuget Nuget Build Status

A Blazor UI component that utilizes Szymon Nowak's Signature Pad javascript library to implement smooth signature drawing on a HTML5 canvas.

Don't worry! You don't have to touch any javascript to make use of this library. Blazor Signature Pad abstracts all of that away for you. Just plug and play, baby.

Tap the link above to go to a live demo. Try some of the options to get an idea of what's possible. Then reload the app in the browser and watch how the state was kept!

Check out its source code here.

Gif of Demo

For

  • Blazor WebAssembly
  • Blazor Server

Dependencies

.NETStandard 2.0
  • Mobsites.Blazor.BaseComponents (>= 1.0.4)

Design and Development

The design and development of this Blazor component was influenced by Microsoft's Steve Sanderson. He outlines a superb approach to building and deploying a reusable component library in this presentation and example.

As for the non-C# implementation of this component library, obviously the Signature Pad docs were consulted carefully. And it goes without saying (but I'm going to say it anyway), that Blazor Signature Pad would not be what it is...were it not for Szymon Nowak's hard work beforehand.

Now, not every aspect of his awesome javascript library has been ported over, and I can't say that it ever will. I am still considering a few aspects as well as possible extensions to it (in C#, mind you). If you are familiar with said javascript library and have any suggestions, feel free to chime in and contribute.

Getting Started

Check out our new docs to help you get started.