ColorPicker
A color input: a ColorPalette with optional saturation/brightness, hue and alpha controls and a text field, sharing a single bound value. Values are normalized hex colors, with an alpha channel when the color isn't fully opaque.
Structure
<ColorPicker showArea showHue showAlpha showEyedropper showInput>
<ColorPickerArea />
<ColorPickerHue />
<ColorPickerAlpha />
<ColorPickerEyedropper />
<ColorPalette colors={colors} />
<ColorPickerInput />
</ColorPicker> With no children, the parts you enable are rendered automatically. Compose them explicitly to target each one with its own props and styling. Colors in the palette are either hex strings or { value, name } objects, where the name is used as the swatch's accessible name.