Set the Rounded Corner in Blazor TextBox Component

4 Nov 20251 minute to read

Render the TextBox with rounded corners by applying a custom CSS class via the component’s CssClass property and styling the input wrapper.

@using Syncfusion.Blazor.Inputs

<SfTextBox Placeholder='First Name' CssClass="e-corner"></SfTextBox>
<style>
    .e-input-group.e-corner {
        border-radius: 4px;
    }
</style>