JSPM

  • Created
  • Published
  • Downloads 1316592
  • Score
    100M100P100Q175375F
  • License MIT

A Collection of Color Pickers from Sketch, Photoshop, Chrome & more

Package Exports

  • react-color
  • react-color/lib/components/block/Block
  • react-color/lib/components/chrome/Chrome
  • react-color/lib/components/chrome/ChromePointer
  • react-color/lib/components/chrome/ChromePointerCircle
  • react-color/lib/components/circle/Circle
  • react-color/lib/components/common
  • react-color/lib/components/common/Alpha
  • react-color/lib/components/common/Checkboard
  • react-color/lib/components/common/ColorWrap
  • react-color/lib/components/common/EditableInput
  • react-color/lib/components/common/Hue
  • react-color/lib/components/common/Saturation
  • react-color/lib/components/common/Swatch
  • react-color/lib/components/compact/Compact
  • react-color/lib/components/github/Github
  • react-color/lib/components/material/Material
  • react-color/lib/components/photoshop/Photoshop
  • react-color/lib/components/photoshop/PhotoshopPointerCircle
  • react-color/lib/components/sketch/Sketch
  • react-color/lib/components/sketch/SketchFields
  • react-color/lib/components/sketch/SketchPresetColors
  • react-color/lib/components/slider/Slider
  • react-color/lib/components/swatches/Swatches
  • react-color/lib/helpers/color
  • react-color/modules/tinycolor2

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-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 Color

Build Status dependency status dev dependency status License Downloads

  • 13 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 />;
  }
}

You can import AlphaPicker BlockPicker ChromePicker CirclePicker CompactPicker GithubPicker HuePicker MaterialPicker PhotoshopPicker SketchPicker SliderPicker SwatchesPicker TwitterPicker respectively.

100% inline styles via ReactCSS