Hi Reidar,
Thanks for contacting Syncfusion Support.
We have checked your reported query, and we can achieve your requirement by using custom css class in CssClass attribute as like in the below code snippet.
|
<SfSwitch @bind-Checked="isChecked" CssClass="e-large"></SfSwitch>
@code {
private bool isChecked = true;
}
<style>
.e-large{
width:55px;
height:25px
}
</style>
|
For your reference we have created sample here.
Could you please check the above details, and get back to us, if you need assistance on this.
Regards,
Aravinthan S