# Appearance

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

To explore the available options for customizing the Loader appearance, refer to the following demos:

* [Loader types](https://demos.telerik.com/aspnet-mvc/loader/index)
* [Loader theme colors and sizes](https://demos.telerik.com/aspnet-mvc/loader/appearance)

## Type

The Loader allows you to set different visual animations by using the `Type` property.

The available `Type` values are:

* `Pulsing`—Applies pulsing animation on the Loader.
* `InfiniteSpinner`—Applies infinite-spinner animation on the Loader.
* `ConvergingSpinner`—Applies converging-spinner animation on the Loader.

> When not explicitly set, the type defaults to `Pulsing`.

```Razor HtmlHelper
    @(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`—Applies coloring based on primary theme color.
* `Base`—Applies coloring based on base theme color.
* `Secondary`—Applies coloring based on secondary theme color.
* `Tertiary`— Applies coloring based on tertiary theme color.

> When not explicitly set, the applied theme controls the default theme color.

```Razor HtmlHelper
    @(Html.Kendo().Loader()
        .Name("Primary")
        .ThemeColor(LoaderThemeColor.Primary)
    )

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

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

### Custom Color

The `ThemeColor()` option accepts only the predefined `LoaderThemeColor` values. To use a different color, add a custom CSS class to the Loader and override the background color of its segments. Load the custom CSS after the Kendo UI theme stylesheet.

```Razor HtmlHelper
    @(Html.Kendo().Loader()
        .Name("customLoader")
        .HtmlAttributes(new { @class = "custom-loader" })
    )
```

```CSS
    #customLoader.custom-loader .k-loader-segment {
        background-color: #7b2cbf;
    }
```

## Size

The Loader allows you to set different sizes.

The available `Size` values are:

* `Small`
* `Medium`
* `Large`

> When not explicitly set, the applied theme controls the default size.

```Razor HtmlHelper
    @(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

* [Appearance of the Loader HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/loader/appearance)
* [Loader Server-Side API](https://www.telerik.com/aspnet-mvc/documentation/api/loader)
* [Loader Client-Side API](https://docs.telerik.com/kendo-ui/api/ui/loader)
