Description
React Color is a JavaScript library that gives React developers ready-made color pickers modeled on well-known design tools. The collection includes pickers in the style of Sketch, Photoshop and Chrome, plus styles from GitHub, Twitter and Material Design. There are also simpler building blocks such as hue, alpha, circle, slider, compact, block and swatches components. You install the package from npm, import the picker you want into a component and pass it a color value and an onChange handler. The color can be given as a hex string such as #333, or as an object of RGB or HSL values. The site shows a live example for each picker and documents the building blocks, so developers can assemble a picker of their own from the pieces. The library is aimed at web developers who need a color input inside a React app. Install it with npm install react-color, then import the picker you need.…
Highlights
- 13 picker styles modeled on Sketch, Photoshop, Chrome and more
- Hue, alpha, slider and swatch building blocks
- Install with npm and import into React components
- Color values as hex, RGB or HSL objects
Ratings & Reviews
No ratings yet
Be the first to rate React Color.
People also visit
React Color FAQ
What is React Color?
A React library with a set of color picker components, each styled after a design tool or a site.
How do I install it?
Run npm install react-color, then import the picker you want, such as SketchPicker, into your component.
What does the color prop accept?
A hex string such as #333, or an object of RGB or HSL values.
Which pickers are available?
Alpha, Block, Chrome, Circle, Compact, Github, Hue, Material, Photoshop, Sketch, Slider, Swatches and Twitter pickers.
Can I build my own picker?
Yes. The site documents the building blocks, such as Alpha, Block and Hue, so you can combine them into a custom picker.
What are the best React Color alternatives?
Popular alternatives to React Color include Vanilla Colorful, ColorUI and ColorSmith - Modern Color Picker. See all React Color alternatives
















