wired-icon-button
This is a hand-drawn sketchy round button with an image placed at the center. Image could also be in icon, more specifically an icon as as @material/mwc-icon.
For demo and view the complete set of wired-elememts: wiredjs.com
Usage
Add wired-icon-button to your project:
npm i wired-icon-button
Import wired-icon-button definition into your HTML page:
Or into your module script:
Use it in your web page:
favoritefavorite
Properties
disabled - disables the button. Default value is false.
Custom CSS Variables
--wired-icon-size Numeric size of the icon. Default is 24 (px).
--wired-icon-bg-color Background color.
Events
click - When button is clicked/submitted