yet-another-color-picker
A color picker web component.
- Package: npmjs.com/package/yet-another-color-picker
- Repository: github.com/kleinfreund/yet-another-color-picker
Demo
Installation & usage
Install the package.
npm install yet-another-color-picker
Import the module to define the custom element.
HTML:
<color-picker></color-picker>
JavaScript:
import 'yet-another-color-picker'
Make sure to also load the color picker styles.
HTML:
<link rel="stylesheet" href="./node_modules/yet-another-color-picker/dist/ColorPicker.css">
Made with love by Philipp.