Skip to content

OhotnikovM/vue-gpickr

 
 

Repository files navigation

vue-gpickr

forthebadge forthebadge

Vue gradient picker component. Inspired by gpickr and vue-color

vue-gpickr

Usage

npm i vue-gpickr
<template>
  <vue-gpickr v-model="gradient" />
</template>

<script>
import { VueGpickr, LinearGradient } from 'vue-gpickr';

const gradient = new LinearGradient({
  angle: 0,
  stops: [
    ['#0359b5', 0],
    ['#f6ce01', 1]
  ]
});

export default {
  components: {
    VueGpickr
  },
  data() {
    return {
      gradient
    }
  }
};
</script>

About

Vue gradient picker component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 78.9%
  • JavaScript 20.3%
  • Shell 0.8%