Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

react-color-2

2.0.2 • Public • Published

React Color

  • 7 Different Pickers - Sketch, Photoshop, Chrome and many more

  • Make Your Own - Use the building block components to make your own

Sketch and Photoshop Color Picker Built in React

Installation & Usage

npm install react-color --save

Include the Component

import React from 'react';
import { SketchPicker } from 'react-color';
 
class Component extends React.Component {
 
  render() {
    return <SketchPicker type="sketch" />;
  }
}

You can import ChromePicker CompactPicker MaterialPicker PhotoshopPicker SketchPicker SliderPicker SwatchesPicker respectively.

100% inline styles via ReactCSS

install

npm i react-color-2

Downloadsweekly downloads

8

version

2.0.2

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability