Radzen Blazor Components
percent

Save $100 with our Black Friday deals!

Upgrade your development experience with Radzen Blazor Studio today!

Get $100 OFF with promo code BLACKFRIDAY2024 at checkout until November 30.

See Pricing ↗

Get started

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. Include a themelink

Open _Host.cshtml and add this code within the <head> element:

<component type="typeof(RadzenTheme)" render-mode="ServerPrerendered" param-Theme="@("material")" />

4. Include Radzen.Blazor.jslink

Open the _Host.cshtml 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 />
warning_amber
Make sure that you do not nest RadzenComponents inside a positioned element (i.e. with position: relative, position: absolute or position: fixed). To be safe you can add them at the end of the layout file after all other elements.

Open the Program.cs file and include:

builder.Services.AddRadzenComponents();

Supercharge your Blazor development with 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. Write less code and get more done.

open_in_new Learn More
>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 🗙