@pake/react-color

3.0.0 • Public • Published

React Color

This is a fork of react-color but built with rollup with umd, cjs and esm format, also each type is built so it can directly used.

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

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

100% inline styles via ReactCSS

Package Sidebar

Install

npm i @pake/react-color

Weekly Downloads

8

Version

3.0.0

License

MIT

Unpacked Size

28.1 MB

Total Files

138

Last publish

Collaborators

  • dipake
  • ekoeryanto