We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Blazor Spinner component denotes when long-running tasks are ongoing, tasks for which there is no information about their progress. The component provides circular progress indicators without interaction capabilities.

To show users the progress information of a task, the Blazor ProgressBar component should be used, instead.


Blazor Spinner code example

Easily get started with the Blazor Spinner using a few simple lines of C# code as demonstrated below. Also explore our Blazor Spinner example that shows you how to render and configure the Blazor Spinner.

@using Syncfusion.Blazor
@using Syncfusion.Blazor.Buttons
@using Syncfusion.Blazor.Spinner
<div>
    <SfButton @onclick="@ClickHandler">Show/Hide Spinner</SfButton>
    <div id="container">
        <SfSpinner @bind-Visible="@VisibleProperty">
        </SfSpinner>
    </div>
</div>
@code{
    private bool VisibleProperty { get; set; } = false;
    private async Task ClickHandler()
    {
        this.VisibleProperty = true;
        await Task.Delay(2000);
        this.VisibleProperty = false;
    }
}

Built-in types

Several built-in, Sass-based themes are available: Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, and high contrast. Simplify theme customization by either overriding the existing Sass styling or creating custom themes using the Theme Studio application.


Descriptive labels

Include labels with the Blazor Spinner component that give additional, meaningful information about the task currently running.


Spinner integration

The Spinner component can be rendered with other Blazor components, such as the Tab component. To render the Spinner inside the Tab component, the Spinner is set as a child of the Tab component, and the Spinner can be shown or hidden when switching between tabs.

Blazor Spinner integration


Various sizes

Multiple size options for the Blazor Spinner let developers uphold visual consistency across their applications. By coming in large, medium, and small sizes, this component seamlessly adjusts to various design needs and loading situations to help integrate it within other Blazor components.


Templates

Templates in the Blazor Spinner component provide a robust mechanism for users to create loading elements that seamlessly integrate with their applications. The flexibility, reusability, and customization options enhance the development experience and result in visually appealing and consistent loading experiences across Blazor applications.


Visibility

You can control the Blazor Spinner component’s visibility easily through a two-way binding property and asynchronous methods.


Customization

The default appearance of the Blazor Spinner component can be customized by changing its color and stroke width. Also, you can set the z-index for Blazor spinners dynamically based on application scenarios.




Blazor Components – 85+ UI and DataViz Components

Frequently Asked Questions

  • Show indeterminate progress indicators.
  • Utilize built-in support for theme-based spinners.
  • Customize the Spinner appearance, labels, size, type, z-index, and overlay.
  • Add descriptive labels to provide meaningful information about the task currently running.
  • Create a custom loading component using templates.
  • Control the Spinner with simple configuration and API.
  • One of the best Blazor Spinner components on the market that offers a feature-rich UI to interact with the software.
  • Industry-standard themes are included: Material, Fabric, and Bootstrap.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Touch-friendly and responsive UI.
  • Extensive demos, documentation, and videos to learn quickly and get started with Blazor Spinner.

You can find our Blazor Spinner demo, which demonstrates how to render and configure the Spinner.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile