Themes Overview

Updated on Oct 21, 2026

Telerik UI for Blazor comes with a set of built-in CSS themes that control the visual appearance of the components. Each theme determines the components' colors, borders, backgrounds, size, layout, position, font size and sometimes the font family.

In This Article

ninja-iconNew to Telerik UI for Blazor?Telerik UI for Blazor is a professional grade UI library with 110+ native components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.Start Free Trial

Basics

What is a Theme?

A theme is a collection of styles in a CSS file, which determine the appearance of the Telerik Blazor components, including fonts, colors, sizes and layouts. For example, Default and Bootstrap are two built-in theme names.

What is a Swatch?

A theme swatch is a color variation of a theme. All swatches of a given theme use the same fonts, sizes, and layouts. On the other hand, the text colors, background colors and border colors are different. For example, Default Ocean Blue and Bootstrap Nordic are two built-in swatch names.

When the Telerik UI for Blazor documentation talks about a given theme name, for example Default, this implies the Main swatch of this theme. In addition, the word "theme" as a general term can imply any swatch of any theme.

The CSS file of any swatch is self-sufficient and contains all required styles for the Telerik Blazor components, except the optional font icon styles. You can switch the theme runtime, but the Blazor app should always load only one theme at a time.

Integration with the Telerik Components

The CSS themes represent an external dependency to Telerik UI for Blazor:

Built-in Themes

The Themes - Get Started page lists the built-in themes in Telerik UI for Blazor and describes their unique specifics.

Comparing Themes and Swatches

You can explore and compare the built-in theme swatches on the live Telerik UI for Blazor demos. Use the Change Theme dropdown above each component example. To test how the available swatches affect the appearance of the Telerik UI for Blazor components, you can also check the ThemeBuilder app. This tool provides the ability to customize the existing themes and swatches.

Using a Theme

To register a theme:

  • Reference its stylesheet in the <head> of the web page. The exact project file that contains the <head> tag depends on the .NET version and the Blazor application type. See our Getting Started guides for more information.
  • Set the k-body CSS class to the root container of your app, which is normally the <body> element. This class applies default text color and background color to generic web content and is especially important when using dark theme swatches.

There are three ways to load a Telerik theme, in terms of physical CSS file location. Note that each option provides access to a different number of theme swatches.

The Blazor app must load only one Telerik theme file at a time. Upgrade the theme with every Telerik UI for Blazor version upgrade, unless you are loading the theme as a static NuGet asset.

Loading Themes in Blazor from the NuGet Package

The easiest way to load a Telerik theme in a Blazor app is to reference a static asset from the NuGet package. The .NET SDK will copy the CSS file to the output folder during build automatically. Static assets provide the following benefits:

The Telerik.UI.for.Blazor NuGet package includes a different variety of swatches, depending on the package version:

  • Version 15.1.0 and newer ones contain all swatches.
  • Older versions contain only the Main swatch of each theme and the Ocean Blue swatch of the Default theme.

The code snippets below show how to load CSS files from the NuGet package and the correct file URLs. Also see the section Using a Theme above.

Load a Telerik theme as a static NuGet asset in any version

HTML
<head>
    <!-- Choose only one theme. -->
    
    <link rel="stylesheet" href="_content/Telerik.UI.for.Blazor/css/kendo-theme-meridian/all.css" />

    <!-- 
    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-meridian/all.css" rel="stylesheet" />
    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-default/default-ocean-blue.css" rel="stylesheet" />
    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-bootstrap/all.css" rel="stylesheet" />
    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-material/all.css" rel="stylesheet" />
    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-fluent/all.css" rel="stylesheet" />
    -->
</head>

Starting from Telerik UI for Blazor version 15.1.0, you can load a theme swatch with the following URL:

_content/Telerik.UI.for.Blazor/css/kendo-theme-[THEME_NAME]/swatches/[THEME_NAME]-[SWATCH_NAME].css

The Telerik UI for Blazor demo site allows you to preview all available swatches.

Load a Telerik theme as a static NuGet asset in version 15.1.0 and newer ones

HTML
<head>
    <!-- Choose only one theme. -->
    
    <link rel="stylesheet" href="_content/Telerik.UI.for.Blazor/css/kendo-theme-meridian/swatches/meridian-main.css" />

    <!-- 
    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-meridian/swatches/meridian-main.css" rel="stylesheet" />
    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-meridian/swatches/meridian-main-dark.css" rel="stylesheet" />

    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-default/swatches/default-main.css" rel="stylesheet" />
    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-default/swatches/default-main-dark.css" rel="stylesheet" />

    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-bootstrap/swatches/bootstrap-main.css" rel="stylesheet" />
    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-bootstrap/swatches/bootstrap-main-dark.css" rel="stylesheet" />

    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-material/swatches/material-main.css" rel="stylesheet" />
    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-material/swatches/material-main-dark.css" rel="stylesheet" />

    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-fluent/swatches/fluent-main.css" rel="stylesheet" />
    <link href="_content/Telerik.UI.for.Blazor/css/kendo-theme-fluent/swatches/fluent-main-dark.css" rel="stylesheet" />
    -->
</head>

Compatibility and Maintenance

The Telerik themes are decoupled from the Telerik Blazor components, which leads to the following usage requirements:

Next Steps

See Also