BlazorSpinner is a loading spinner that can be included in Blazor applications. It has a simple service that can be called to "show" or "hide" a loading icon or loading text.
$ dotnet add package BlazorSpinnerBlazorSpinner is a loading spinner that can be included in Blazor applications. It has a simple service that can be called to "show" or "hide" the spinner.
Demo link: https://red-bay-06d0ccf10.1.azurestaticapps.net
This is a screen shot of the spinner

Review the demo project for details on how to implement the spinner.
@using BlazorSpinner" in your _Imports.razorbuilder.Services.AddScoped<SpinnerService>();" in your Program.cs file<Spinner></Spinner>" to your MainLayout.razor file@inject BlazorSpinner.SpinnerService _spinnerService_spinnerService.Show() or _spinnerService.Hide() to "Show" or "Hide" the spinner.Call the spinner on any long-running calls or processes (such as API calls).
You can use your own SVG for the loading icon, instead of the default spinner.
<Spinner Type="@SpinnerType.Icon" Icon="loading.svg"></Spinner>
You can use your own SVG for the loading icon, instead of the default spinner.
<Spinner Type="@SpinnerType.Text" Text="Processing...""></Spinner>
v4 targets .NET 10. If your application uses previous versions of .NET then use previous version of the spinner - previous versions are still available on NuGet.
The 'Loading' component and service have been merged with the 'Spinner' componet and service. Applications that have previously used the 'Loading' component and service need to be updated to use the 'Spinner' component and service.