New to Telerik UI for Blazor? Download free 30-day trial

Appearance Settings

The loader component provides the following parameters that control its appearance:

You can use all three together to get the desired appearance. This article will explain their effect one by one.


The Type parameter controls the general shape of the animation. It takes a member of the Telerik.Blazor.Components.LoaderType enum:

  • Pulsing
  • InfiniteSpinner
  • ConvergingSpinner

You can see them in action in the Loader Overview Live Demo.

Loader Types

loader types

@foreach (LoaderType type in Enum.GetValues(typeof(Telerik.Blazor.Components.LoaderType)))
    <div style="float: left; margin: 20px;">
        <br /><br />
        <TelerikLoader Type="@type"></TelerikLoader>


There are three predefined sizes for the loader that you can set through its Size parameter that takes a member of the Telerik.Blazor.Components.LoaderSize enum:

  • Small
  • Medium - the default value
  • Large

You can see them in action in the Loader Overview Live Demo.

Loader Size

loader size

@foreach (LoaderSize size in Enum.GetValues(typeof(Telerik.Blazor.Components.LoaderSize)))
    <div style="float: left; margin: 20px;">
        <br /><br />
        <TelerikLoader Size="@size"></TelerikLoader>


The color of the animated loading icon is controlled through the ThemeColor parameter. You can set it to a member of the Telerik.Blazor.ThemeColor class:

  • Primary
  • Secondary
  • Tertiary
  • Success
  • Info
  • Warning
  • Error
  • Dark
  • Light
  • Inverse

These predefined options match the main Telerik Theme and you can see that in action in the Appearance Live Demo.

Built-in Theme Colors

Loader Theme Colors

    var fields = typeof(Telerik.Blazor.ThemeColors)
                    .GetFields(System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Static |
                    .Where(fi => fi.IsLiteral && !fi.IsInitOnly).ToList();
    foreach (var f in fields)
        string color = f.GetValue(null).ToString();
        <div style="float: left; margin: 20px;">
            <br /><br />
            <TelerikLoader ThemeColor="@color"></TelerikLoader>

The ThemeColor parameter renders as the k-loader-<ThemeColor> CSS class on the wrapping element and you can set it to a custom value to cascade through and set the color to a setting of your own without customizing the entire theme.

Custom loader color without customizing the Telerik Theme

Custom loader color

    .k-loader-custom-color .k-loader-segment::after {
        background-color: cyan;
<TelerikLoader ThemeColor="custom-color"></TelerikLoader>

See Also

In this article
Not finding the help you need? Improve this article