wired-button
Hand-drawn sketchy Button web component.
For demo and view the complete set of wired-elememts: wiredjs.com
Usage
Add wired-button to your project:
npm i wired-button
Import wired-button definition into your HTML page:
Or into your module script:
Use it in your web page:
Click MeDisabledElevation
Properties
elevation - Number between 1 and 5 (inclusive) that gives the button a sketchy height. Default value is 1.
disabled - disables the button. Default value is false.
Events
click - When button is clicked/submitted