Help the user picking beautiful colors!

Vue Swatches is a UI Component for Vue that allows the user to choose colors.

Unlike classic color pickers, where all colors are available (167 77 216 colors), Vue Swatches only shows a bunch of predefined colors.

More decisions require more effort

With fewer options, the user experience will be improved


npm install --save vue-swatches


yarn add vue-swatches

Basic Usage

<!-- Vue component -->
    <swatches v-model="color" />

  import Swatches from 'vue-swatches'

  // Import the styles too, globally
  import "vue-multiselect/dist/vue-multiselect.min.css"

  export default {
    components: { Swatches }, // window.VueSwatches.default - from CDN
    data () {
      return {
        color: '#1CA085'


# serve with hot reload at localhost:8080
npm run dev

# distribution build with minification
npm run bundle

# build the documentation into docs
npm run docs

# run unit tests
npm run test