JSPM

  • Created
  • Published
  • Downloads 2815
  • Score
    100M100P100Q147339F
  • License MIT

React input color component with hsv color picker

Package Exports

  • react-input-color

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-input-color) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-input-color

React input color component with hsv color picker

The color picker is inspired by the sketch color picker

screenshot

Installation

npm install react-input-color --save

Demo

https://wangzuo.github.io/react-input-color

Usage

Check app.js for a working example.

var InputColor = require('react-input-color');

<InputColor
  value={this.state.color}
  defaultValue="#345678"
  onChange={this.handleChange} // change state.color in handleChange
/>

License

MIT