Radzen Blazor Components
percent

Save $100 with promo code CHEERS2025

As we are looking forward to an incredible 2025, enjoy our end-of-year promotion! Valid now through January 6th.

See Pricing ↗

Get started

info
All interactive features of the Radzen Blazor components require interactivity of the container .razor file to be enabled or the @rendermode attribute of the component to be set to one of the following values: InteractiveServer, InteractiveAuto or InteractiveWebAssembly. More info is available in the rendering mode article from the official Blazor documentation.
info
If you have upgraded your application to .NET 8 or .NET 9 follow the getting started instructions for the version you initially used - e.g. .NET 7 or .NET 6. These instructions assume the new application layout which uses rendering modes and was introduced with .NET 8.

1. Installlink

The Radzen Blazor components are distributed via the Radzen.Blazor nuget package.

You can add the Radzen.Blazor nuget package to your Blazor application in one of the following ways:

  • Via Visual Studio's Nuget Package Manager.
  • Via command line dotnet add package Radzen.Blazor
  • By editing your application's .csproj file and adding a package reference <PackageReference Include="Radzen.Blazor" Version="*" />

2. Import the namespacelink

Open the _Imports.razor file of your Blazor application and append the following:

@using Radzen
@using Radzen.Blazor

3. Set the themelink

Open the App.razor file of your application. Add this code within the <head> element:

<RadzenTheme Theme="material" @rendermode="InteractiveAuto" />
info
Set the @rendermode attribute to the render mode of your application e.g. InteractiveServer, InteractiveWebAssembly or InteractiveAuto.

4. Include Radzen.Blazor.jslink

Open the App.razor file of your application. Add this code after the last <script>:

<script src="_content/Radzen.Blazor/Radzen.Blazor.js?v=@(typeof(Radzen.Colors).Assembly.GetName().Version)"></script>

5. Use a componentlink

Use any Radzen Blazor component by typing its tag name in a Blazor page:

<RadzenButton Click="@ButtonClicked" Text="Hi"></RadzenButton>
@code {
  void ButtonClicked()
  {
    // Handle the Click event of RadzenButton
  }
}

6. Use Dialog, Notification, ContextMenu and Tooltip componentslink

Open the MainLayout.razor file and include:

<RadzenComponents @rendermode="InteractiveAuto" />
info
Set the @rendermode attribute to the render mode of your application e.g. InteractiveServer, InteractiveWebAssembly or InteractiveAuto.

Open the Program.cs file and include:

builder.Services.AddRadzenComponents();

Next: Explore Demos

Hooray! You have successfuly added Radzen Blazor Components to your Blazor app. Now let's take a deeper look and explore more components and demos.

Explore Demos

Supercharge your Blazor development with Radzen

Whether you prefer a standalone environment or integration directly within Visual Studio, Radzen provides a powerful toolkit to increase development speed, reduce repetitive coding, and focus on building exceptional applications.

Pro

Radzen Blazor Studio

Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles.

Learn More
New

Radzen Blazor for Visual Studio

Radzen Blazor for Visual Studio extension streamlines Blazor development within the Visual Studio environment. The Blazor extension you need to boost productivity!

>Radzen Blazor Studio

Radzen Blazor Components, © 2018-2024 Radzen.
Source Code licensed under MIT

Demos Configuration

Premium Themes

  • Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark

Free Themes

  • Material
  • Material Dark
  • Standard
  • Standard Dark
  • Default
  • Dark
  • Humanistic
  • Humanistic Dark
  • Software
  • Software Dark
An error has occurred. This app may no longer respond until reloaded. Reload 🗙