a minimal color picker
Just add the script and the colorpicker will work on any input[type=color]
. Even if you add them to DOM afterwards.
The implementation is minimal, the code is minimal, even the colorpicker itself is a mere six elements in a wrapper and some smart CSS.
Checkout https://sjeiti.github.io/clr/ for live examples.
To install just do something like:
npm i -S mc_picker
or yarn add mc_picker -S
Then just import it somewhere:
import 'mc_picker'
This project is licensed under the MIT License - see the LICENSE file for details