New to Telerik UI for ASP.NET Core? Download free 30-day trial

Appearance

The Loader component provides several predefined appearance options such as different types, sizes and theme colors.

Type

The Loader allows you to set different animations by using the type input property.

The available types values are:

  • pulsing (Default)—Applies pulsing animation on the Loader.
  • infinite-spinner—Applies infinite-spinner animation on the Loader.
  • converging-spinner—Applies converging-spinner animation on the Loader.
    @(Html.Kendo().Loader()
        .Name("pulsing")
        .Type(LoaderType.Pulsing)
    )

    @(Html.Kendo().Loader()
        .Name("infinite")
        .Type(LoaderType.InfiniteSpinner)
    )

    @(Html.Kendo().Loader()
        .Name("converging")
        .Type(LoaderType.ConvergingSpinner)
    )

Theme Color

The Loader allows you to specify predefined theme colors.

The available themeColor values are:

  • primary (Default)—Applies coloring based on primary theme color.
  • secondary—Applies coloring based on secondary theme color.
  • tertiary— Applies coloring based on tertiary theme color.
  • info—Applies coloring based on info theme color.
  • success— Applies coloring based on success theme color.
  • warning— Applies coloring based on warning theme color.
  • error— Applies coloring based on error theme color.
  • dark— Applies coloring based on dark theme color.
  • light— Applies coloring based on light theme color.
  • inverse— Applies coloring based on inverted theme color.
    @(Html.Kendo().Loader()
        .Name("Primary")
        .ThemeColor(LoaderThemeColor.Primary)
    )

    @(Html.Kendo().Loader()
        .Name("Secondary")
        .ThemeColor(LoaderThemeColor.Secondary)
    )

    @(Html.Kendo().Loader()
        .Name("Tertiary")
        .ThemeColor(LoaderThemeColor.Tertiary)
    )

    @(Html.Kendo().Loader()
        .Name("Info")
        .ThemeColor(LoaderThemeColor.Info)
    )

    @(Html.Kendo().Loader()
        .Name("Success")
        .ThemeColor(LoaderThemeColor.Success)
    )

    @(Html.Kendo().Loader()
        .Name("Warning")
        .ThemeColor(LoaderThemeColor.Warning)
    )

    @(Html.Kendo().Loader()
        .Name("Error")
        .ThemeColor(LoaderThemeColor.Error)
    )

    @(Html.Kendo().Loader()
        .Name("Dark")
        .ThemeColor(LoaderThemeColor.Dark)
    )

    @(Html.Kendo().Loader()
        .Name("Light")
        .ThemeColor(LoaderThemeColor.Light)
    )

    @(Html.Kendo().Loader()
        .Name("Inverse")
        .ThemeColor(LoaderThemeColor.Inverse)
    )

Size

The Loader allows you to set different sizes.

The available size values are:

  • small
  • medium (Default)
  • large
    @(Html.Kendo().Loader()
        .Name("loader-small")
        .Size(LoaderSize.Small)
    )

    @(Html.Kendo().Loader()
        .Name("loader-medium")
        .Size(LoaderSize.Medium)
    )

    @(Html.Kendo().Loader()
        .Name("loader-large")
        .Size(LoaderSize.Large)
    )

See Also

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