# blazor-pro-components
**Repository Path**: donqy/blazor-pro-components
## Basic Information
- **Project Name**: blazor-pro-components
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 2
- **Created**: 2025-07-06
- **Last Updated**: 2025-07-06
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[English](./README.md) | 简体中文
[](https://www.nuget.org/packages/AntDesign.ProLayout/)
[](https://www.nuget.org/packages/AntDesign.ProLayout/)
[](https://github.com/ant-design-blazor/blazor-pro-components/issues)


[](https://join.slack.com/t/AntBlazor/shared_invite/zt-etfaf1ww-AEHRU41B5YYKij7SlHqajA)
[](https://discord.com/invite/jqu3Xeq)
Ant Design Pro

开箱即用的中台前端/设计解决方案。此仓库是 Ant Design Pro 的 layout, 是为了方便快速的使用 layout 而开发。
## 使用
```bash
Install-Package AntDesign.Pro.Layout
// or
dotnet add package AntDesign.Pro.Layout
```
```CSharp | pure
builder.Services.AddAntDesign();
builder.Services.Configure(x =>
{
x.Title = "Ant Design Pro";
x.NavTheme = "light";
x.Layout = "mix";
x.PrimaryColor = "daybreak";
x.ContentWidth = "Fluid";
x.HeaderHeight = 64;
});
```
* 此外也可以通过appsettings.json来配置
```CSharp | pure
builder.Services.AddAntDesign();
builder.Services.Configure(builder.Configuration.GetSection("ProSettings"));
```
```json
{
"ProSettings": {
"NavTheme": "light",
"Layout": "mix",
"ContentWidth": "Fluid",
"FixedHeader": false,
"FixSiderbar": true,
"Title": "Ant Design Pro",
"PrimaryColor": "daybreak",
"ColorWeak": false,
"SplitMenus": false,
"HeaderRender": true,
"FooterRender": true,
"MenuRender": true,
"MenuHeaderRender": true,
"HeaderHeight": 64
}
}
```
- 在 wwwroot/index.html(WebAssembly) 或 Pages/_Host.cshtml(Server) 中引入静态文件:
```html
```
## ❓ 社区互助
如果您在使用的过程中碰到问题,可以通过以下途径寻求帮助,同时我们也鼓励资深用户通过下面的途径给新人提供帮助。
- [](https://discord.com/invite/jqu3Xeq) (英文)
- [](https://h5.dingtalk.com/circle/healthCheckin.html?corpId=dingce91412e5fdea4020aee85826fecb71d&dd651=7b682&cbdbhh=qwertyuiop&origin=11) (中文)
## 行为准则
本项目采用了《贡献者公约》所定义的行为准则,以明确我们社区的预期行为。
更多信息请见 [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
## ☀️ 授权协议
[](https://github.com/ant-design-blazor/ant-design-blazor/blob/master/LICENSE)
## .NET Foundation
本项目由 [.NET Foundation](https://dotnetfoundation.org) 支持。