New to KendoReact? Start a free 30-day trial

Controlled Mode

By default, the ColorPicker is in an uncontrolled state.

The ColorPicker provides options for:

Controlling the Value

To manage the value of the ColorPicker:

  1. Use its value property.
  2. Handle the onChange event.
  3. Pass the new value through the props.
Example
View Source
Edit In Stackblitz  
Change Theme:

Controlling the Popup State

To manage the popup and set the open state of the ColorPicker, use its open property.

The following example demonstrates how to control the state of the ColorPicker upon display.

Example
View Source
Edit In Stackblitz  
Change Theme: