Render palette alone in Blazor Color Picker Component

9 Dec 20221 minute to read

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>

Rendering Palette Alone in Blazor ColorPicker


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