Color Picker
A color picker is a visual interface that allows users to select a color. Built using React Color
Props
Name | Type | Default | Description |
---|---|---|---|
id required | string | Id of the element | |
className | string | ||
color | Color | ||
defaultColor | string | Hex value of the color | |
disableAlpha | boolean | ||
key | Key | ||
onChange | ColorChangeHandler | ||
onChangeComplete | ColorChangeHandler | ||
ref | LegacyRef<ChromePicker> | Allows getting a ref to the component instance.
Once the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref). | |
styles | any |
Examples
Hidden Controls
Selector
No guidelines exist for ColorPicker yet.