25.2.6 • Public • Published


The Blazor Themes package contains SCSS files for all themes supported by Syncfusion Blazor components. These SCSS files customize theme variables using a web compiler. The package includes component SCSS files and single SCSS files.


Use the following command to install.

npm install @syncfusion/blazor-themes


You can reference themes or customize themes for Syncfusion Blazor components in Blazor applications. Follow these steps to customize a theme:

  1. After installing the package, create a SCSS file in the Static Web Assets folder (e.g., ~/wwwroot/styles/custom.scss). Next, define the theme variables to override and import the theme as shown in the following.

    In the following code, the primary theme variable color is changed. For all components:

    $primary: blue !default;
    @import 'blazor-themes/SCSS-Themes/fluent.scss';

    For the Calendar (individual) component:

    $primary: blue !default;
    @import 'blazor-themes/SCSS-Themes/calendars/calendar/fluent.scss';
  2. Compile the SCSS file to a CSS file using Visual Studio Web Compiler or any other extension and add the compiled CSS file to the <head> element of the Host page.

    <link href="~/styles/custom.css" rel="stylesheet" />
  1. Run the application to see the customized Fluent theme applied.

Refer to the Blazor Themes topic to learn more about the Blazor Themes in Syncfusion Components.

This is a commercial product and requires a paid license for possession or use. Syncfusion's licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.

A free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

© Copyright 2023 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.

About Syncfusion

Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 26,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.

Today, we provide 1600+ components and frameworks for web (Blazor, ASP.NET Core, ASP.NET MVC, ASP.NET WebForms, JavaScript, Angular, React, Vue, and Flutter), mobile (Xamarin, Flutter, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, Flutter and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.

Package Sidebar


npm i @syncfusion/blazor-themes

Weekly Downloads






Unpacked Size

167 MB

Total Files


Last publish


  • syncfusionorg
  • essentialjs2
  • syncfusion-javascript