Note: Before continuing please make sure that you already have a Blazor project created. If not please go to the official Blazor site and learn how to create one.

Blazorise is designed to work with different css frameworks. Each of the supported css framework is defined by a different nuget package. Please see the usage page to find a list of supported frameworks and how to use them.

The setup process is simillar for all of the supported frameworks, you will just replace Bootstrap sources with the one you need.


NuGet packages

First step is to install a Bootstrap provider for Blazorise:

Install-Package Blazorise.Bootstrap

You also need to install the icon package:

Install-Package Blazorise.Icons.FontAwesome

Source files

The next step is to change your index.html file and include the css and js source files:

<!-- inside of head section -->
<link rel="stylesheet" href="" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">

<!-- inside of body section and after the <app> tag  -->
<script src="" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>

Note: Don’t forget to remove default bootstrap css and js files that comes with the Blazor/RC project template. If you forget to remove them it’s possible that some of component will not work as they should be.


In your main _Imports.razor add:

@using Blazorise


Finally in the Startup.cs you must tell the Blazor to register Bootstrap provider and extensions:

using Blazorise;
using Blazorise.Bootstrap;
using Blazorise.Icons.FontAwesome;

public void ConfigureServices( IServiceCollection services )
    .AddBlazorise( options =>
      options.ChangeTextOnKeyPress = true; // optional
    } )

Blazor WebAssembly

public void Configure( IComponentsApplicationBuilder app )

  app.AddComponent<App>( "app" );

Blazor Server

public void Configure( IComponentsApplicationBuilder app )

  app.UseEndpoints( endpoints =>
      endpoints.MapFallbackToPage( "/_Host" );
  } );

This step is mandatory only for projects built on top of Razor Components! For Blazor projects this step is not required! Normally these files would be downloaded automatically by the framework but since Razor Components still doesn’t support static files inside of class library you will need to manually include required js and css files into your project. Once the Blazor/RC team implements this feature this step will not we required.

First you must download from the release tab and extract it to your wwwroot folder. After extraction you will have to include files in your Index.cshtml eg.

<link href="blazorise.css" rel="stylesheet" />
<link href="blazorise.bootstrap.css" rel="stylesheet" />
<link href="blazorise.sidebar.css" rel="stylesheet" />
<link href="blazorise.snackbar.css" rel="stylesheet" />

<script src="blazorise.js"></script>
<script src="blazorise.bootstrap.js"></script>
<script src="blazorise.charts.js"></script>
<script src="blazorise.sidebar.js"></script>


There is also another option. You can try the library BlazorEmbedLibrary. Full instruction on how to use it can be found on their project page.