@kiritaniayaka/color-picker
v0.3.0
Published
My Color Picker Web Component.
Downloads
81
Readme
Ayaka's color picker <ayk-color-picker />
My Color Picker Web Component.
Installation
# npm
npm i @kiritaniayaka/color-picker tslib
# pnpm or yarn
pnpm add @kiritaniayaka/color-picker tslib
Usage
<script type="module">
import '@kiritaniayaka/color-picker/ayk-color-picker.js';
</script>
<ayk-color-picker></ayk-color-picker>
Vite
Import it in main.js
:
import '@kiritaniayaka/color-picker/ayk-color-picker.js';
Then use it in any common HTML or template.
Dev
pnpm start
To run a local development server that serves the basic demo located in demo/index.html