react-color-2
v2.0.2
Published
A Collection of Color Pickers from Sketch, Photoshop, Chrome & more
Downloads
6
Maintainers
Readme
React Color
7 Different Pickers - Sketch, Photoshop, Chrome and many more
Make Your Own - Use the building block components to make your own
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