Lightweight color picker that uses the native HTML element input type color.
npm install vue-native-color-picker
Globally:
import InputColorPicker from "./vue-input-color-picker";
Vue.use(InputColorPicker);
Or locally:
import InputColorPicker from 'vue-native-color-picker'
new Vue({
components: {
"v-input-colorpicker": InputColorPicker
},
data: function() {
return {
color: "#79c120"
};
}
})
<v-input-colorpicker v-model="color" />
Author: dcustodio
Demo: https://dcustodio.github.io/vue-native-color-picker/
Source Code: https://github.com/dcustodio/vue-native-color-picker
☞ Vue js Tutorial Zero to Hero || Brief Overview about Vue.js || Learn VueJS 2023 || JS Framework
☞ Learn Vue.js from scratch 2018
☞ Is Vue.js 3.0 Breaking Vue? Vue 3.0 Preview!
☞ Vue.js Tutorial: Zero to Sixty