/material-ui-color-picker

<ColorInput> component for material-ui

Primary LanguageJavaScriptMIT LicenseMIT

<ColorPicker> for material-ui

<ColorPicker> example

ColorPicker based on <TextField /> and <ChromePicker /> from react-color.

Installation

For material-ui next (v1):

npm install material-ui-color-picker@next --save

(see next branch for development)

For material-ui stable (v0.x):

npm install material-ui-color-picker --save

Usage

import React from 'react'
import ColorPicker from 'material-ui-color-picker'

<ColorPicker
  name='color'
  defaultValue='#000'
  onChange={color => console.log(color)}
/>

There is not so much properties at this time. The was very quickly designed for my needs. Feel free to submit a PR with new features ;)

License

This library is licensed under the MIT Licence, and sponsored by iGLOO.