wired-checkbox
Hand-drawn sketchy checkbox web component.
For demo and view the complete set of wired-elememts: wiredjs.com
Usage
Add wired-checkbox to your project:
npm i wired-checkbox
Import wired-checkbox definition into your HTML page:
Or into your module script:
Use it in your web page:
Checkbox OneCheckbox TwoDisabled checkbox
Properties
checked - Checked state (boolean). Default is false.
disabled - Disables the checkbox. Default value is false.
Custom CSS Properties
--wired-checkbox-icon-color Color of the checkbox. Default is currentColor.
Events
change event fired when state of the checkbox changes, i.e. the user checks/unchecks the box.