13 different pickers, for Sketch, Photoshop, Chrome and many more. Make your own, use the building block components to make your own. Color controls what color is active on the color picker. You can use this to initialize the color picker with a particular color, or to keep it in sync with the state of a parent component. Pass a function to call every time the color is changed. Use this to store the color in the state of a parent component or to make other transformations. Pass a function to call once a color change is complete. To make a custom color picker, create a top-level component that will act as the bridge with the CustomPicker high order component. Wrap the export with the CustomPicker function. Every color picker provided is made up of a collection of helper components. Those components are accessible for you to use to make a custom color picker. Use EditableInput to display an input / label that acts as the single source of truth until the input is blurred.

Features

  • Use Hue to display a slider to toggle the hue value
  • Use Saturation to display a saturation block that users can drag to change the value
  • The Checkboard component renders a background of black / white checkerboard for use when displaying gradients or alpha
  • Use EditableInput to display an input / label that acts as the single source of truth until the input is blurred
  • Use Alpha to display a slider to toggle the alpha value
  • Every color picker provided is made up of a collection of helper components

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow React Color

React Color Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of React Color!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript User Interface (UI) Software, JavaScript Design Software, JavaScript Color Pickers

Registered

2021-06-14