ColorPicker
Edit a color in a picker with a hex field, hue control, and optional opacity.
Basic usage
Use parseColor to create the initial value. Open the picker and try the opacity control enabled by ColorPicker.Content alpha.
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
value / defaultValue | Color | — |
onValueChange | (details) => void | — |
name | string | — |
alpha (Content) | boolean | false |
hexLabel / hueLabel / alphaLabel (Content) | string | Hex / Hue / Opacity |