Search results

Change Size

The different Switch sizes available are default and small. To reduce the size of default Switch to small, set the CssClass property to e-small.

@using Syncfusion.EJ2.Blazor.Buttons

<label for='switch1'>Checked</label>
<EjsSwitch ID='switch1' CssClass="e-small" Checked="true"></EjsSwitch>
<label for='switch2'>Unchecked</label>
<EjsSwitch ID='switch2'></EjsSwitch>

Output be like

Switch Sample