Search results

Create a Block Button in Blazor Button component

You can customize a Button into a Block Button that will span the entire width of its parent element. To create a Block Button, set the CssClass property to e-block.

@using Syncfusion.Blazor.Buttons

<SfButton CssClass="e-block">BLOCKBUTTON</SfButton>
<SfButton CssClass="e-block" IsPrimary="true">BLOCKBUTTON</SfButton>
<SfButton CssClass="e-block e-success">BLOCKBUTTON</SfButton>

Output be like

Button Sample