Socket
Socket
Sign inDemoInstall

vue-sketch-color-picker

Package Overview
Dependencies
12
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vue-sketch-color-picker

Vue Sketch-style Color Picker


Version published
Weekly downloads
45
increased by60.71%
Maintainers
1
Install size
12.3 MB
Created
Weekly downloads
 

Readme

Source

vue-sketch-color-picker

Color Picker with Sketch Style.

Installation

NPM

$ npm install vue-sketch-color-picker
import colorPicker from 'vue-sketch-color-picker'

new Vue({
  components: {
    colorPicker
  }
})

Build

npm install
npm run build

Usage


new Vue({
  el: '#app',
  components: {
    colorPickers
  },
  data: {
    colors: {
      hex: '#194d33',
      hsl: {
        h: 150,
        s: 0.5,
        l: 0.2,
        a: 1
      },
      hsv: {
        h: 150,
        s: 0.66,
        v: 0.30,
        a: 1
      },
      rgba: {
        r: 25,
        g: 77,
        b: 51,
        a: 1
      },
      a: 1
    }
  }
})

<!-- scheme can be dark or light -->
<color-picker :colors.sync="colors" scheme="dark"></color-picker>

License

vue-sketch-color-picker is licensed under The MIT License.

FAQs

Last updated on 23 May 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc