Overview of the Fluent Theme
The Telerik and Kendo UI Fluent theme is a fully-customizable SCSS-based theme for the Telerik and Kendo UI components.
The theme implements the Microsoft Fluent UI look and feel. The Telerik and Kendo UI Fluent theme also introduces CSS variables so you can enjoy dynamically customizable variables. The theme uses the Segoe UI font family, but as the font itself is not included in the theme package, you can download it from Microsoft's web fonts.
To get the Telerik and Kendo UI Fluent theme, you can use the available npm package, CDN link, or GitHub repository.
Getting Started
The fastest way to apply the out-of-the-box Telerik and Kendo UI Fluent theme is to reference the theme stylesheets that are located on a CDN. Alternatively, you can install the theme as an npm package—this approach allows you to customize the theme.
Using the CDN Link
To use the Telerik and Kendo UI Fluent theme without customizing it, reference the precompiled CSS file URL for the required theme version and swatch in the head
section of your application, for example:
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-fluent@10.0.0/dist/fluent-main.css"/>
In the above URL, @10.0.0
specifies the theme version and main
is the swatch name. To preview the appearance of the available built-in theme swatches, visit the online demos for the Telerik or Kendo UI product that you are using.
To obtain the CDN URL for a specific theme version and swatch:
- Visit @progress/kendo-theme-fluent on UNPKG.
- Select a version at the top-right.
- Open the
dist
folder. - Open the required CSS file, for example, fluent-main.css.
- Click the View Raw button, for example, here is the CDN URL for
fluent-main.css
.
It is possible to reference a swatch URL without a version, which will load the latest one automatically. This is strictly not recommended in production applications.
While using the precompiled CSS file is faster than compiling the theme from the source code, the approach has two drawbacks:
- The precompiled CSS file contains the CSS code for all components—even for components that you do not use in your application.
- The precompiled CSS file does not support customizations through SCSS variables because they are no longer present in the theme. To customize the theme, you must rebuild it by using the provided source code.
Installing the NPM Package
To install the Telerik and Kendo UI Fluent theme in your project, use the provided npm package. After installing it, you can customize the stylesheets.
npm install --save @progress/kendo-theme-fluent
To use the theme in your application, import it into your project styles:
// Import the entire theme@use "@progress/kendo-theme-fluent/scss/all.scss" as *;
Using the Figma Kit
The Telerik and Kendo UI Fluent theme comes with a free UI kit for Figma that includes all Telerik and Kendo UI components. To learn more about the available UI kits and how to use them, see the Design Kits for Figma article.
Framework-Specific Documentation
For specific information about how to implement the Fluent theme in the context of the Telerik and Kendo UI libraries, refer to the official product documentation: