Our Black Friday offer is live! Apply code BLACKFRIDAY2025 at checkout and save $100. See Pricing
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:
dotnet add package Radzen.Blazor.csproj file and adding a package reference <PackageReference Include="Radzen.Blazor" Version="*" />
Open the _Imports.razor file of your Blazor application and append the following:
@using Radzen
@using Radzen.Blazor
Open the MainLayout.razor file of your application. Add this code
<HeadContent>
<RadzenTheme Theme="material" />
</HeadContent>
Open the index.html file of your application. Add this code after the last <script>:
<script src="_content/Radzen.Blazor/Radzen.Blazor.min.js"></script>
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
}
}
Open the MainLayout.razor file and include:
<RadzenComponents />
Radzen Blazor Components, © 2018-2025 Radzen.
Source Code licensed under
MIT