@reciprocity/color-input

0.2.10 • Public • Published

ColorInput

An input field that includes a color picker

Installation

npm install @reciprocity/color-input

or

yarn add @reciprocity/color-input

Usage

This component is meant to be used as an ES module, so you can import it using the ES6 import syntax.

After importing you can just register it with Vue. Eg:

app.vue

<template>
	<color-input value="#0099FF" />
</template>
<script>
	import ColorInput from '@reciprocity/color-input';

	export default Vue.extend({
		name: 'My App',
		components: {
			ColorInput
		}
	};
</script>

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @reciprocity/color-input

    Weekly Downloads

    18

    Version

    0.2.10

    License

    MIT

    Unpacked Size

    100 kB

    Total Files

    7

    Last publish

    Collaborators

    • homer0
    • chavlji
    • leonardo-reciprocity
    • ferjalo