# radzen-blazor
**Repository Path**: Blazor/radzen-blazor
## Basic Information
- **Project Name**: radzen-blazor
- **Description**: 一个基于 blazor 的 UI组件
- **Primary Language**: C#
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 0
- **Created**: 2022-01-06
- **Last Updated**: 2025-04-11
## Categories & Tags
**Categories**: Uncategorized
**Tags**: blazor, Csharp, Radzen
## README
# Radzen Blazor Components
The home of the [Radzen Blazor components](https://blazor.radzen.com)
## Commercial support
Paid support for the Radzen Blazor Components is available as part of the [Radzen Professional subscription](https://www.radzen.com/pricing/).
Our flagship product Radzen provides tons of productivity features for Blazor developers:
- The first in the industry WYSIWYG Blazor design time canvas
- Scaffolding a complete CRUD applications from a database
- Built-in security - authentication and authorization
- Visual Studio Code and Professional support
- Deployment to IIS and Azure
- Dedicated support with 24 hour guaranteed response time
- Active community forum
## Get started with the Radzen Blazor Components
### Install
Radzen Blazor Components are distributed as the Radzen.Blazor nuget package. You can add them to your project in one of the following ways
- Install the package from command line by running dotnet add package Radzen.Blazor
- Add the project from the Visual Nuget Package Manager
- Manually edit the .csproj file and add a project reference
### Import the namespace
Open the `_Imports.razor` file of your Blazor application and add this line `@using Radzen.Blazor`.
### Include a theme
Open the `_Host.cshtml` file (server-side Blazor) or `wwwroot/index.html` (client-side Blazor) and include a theme CSS file by adding this snippet `` or `` if you either include Bootstrap manually or don't use it at all.
### Include Radzen.Blazor.js
Open the `_Host.cshtml` file (server-side Blazor) or `wwwroot/index.html` (client-side Blazor) and include this snippet ``
### Use a component
Use any Radzen Blazor component by typing its tag name in a Blazor page e.g.
```html
```
#### Data-binding a property
```razor
@code {
string text = "Hi";
}
```
#### Handing events
```razor
@code {
void ButtonClicked()
{
}
}
```