The ColorPicker provides options for configuring its popup view and display a gradient or palette view, or both by implementing a combined view.
For more information on customizing the supported views, refer to the article on customizing the ColorPicker.
You can configure the ColorPicker to render either a ColorGradient or a ColorPalette component in its popup. To implement them, provide the
palette options respectively to the
view input property of the component. By default, the popup is rendered in the gradient view.
The following example demonstrates both ColorPicker views in action.
The following example demonstrates how to configure a ColorPicker with a combined view.