Search results

Render palette alone in Blazor ColorPicker component

To render the Palette alone in Color Picker, specify the Mode property as Palette, and set the ModeSwitcher property to false.

In the following sample, the ShowButtons property is set to false to hide the control buttons and it renders only the Palette area.

@using Syncfusion.Blazor.Inputs

<h4>Choose a color</h4>
<SfColorPicker Mode="ColorPickerMode.Palette" ModeSwitcher="false" ShowButtons="false"></SfColorPicker>

Output be like color-picker

To render Picker alone, specify the Mode property as ‘Picker’.