Ant Design Blazor

?A set of enterprise-class UI components based on Ant Design and Blazor WebAssembly.
Under Other
By ant-design-blazor

dotnet hacktoberfest webassembly antd blazor ant-design wasm blazor-server blazor-webassembly blazor-components ant-design-blazor

Ant Design Blazor

A set of enterprise-class UI components based on Ant Design and Blazor.

[![Slack Group](](
[![Discord Server](](

English | 简体中文

✨ Features

? Online Examples

WebAssembly static hosting examples:

? Environment Support

| Edge / IE | Firefox | Chrome | Safari | Opera | Electron |
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Edge 16 / IE 11† | 522 | 57 | 11 | 44 | Chromium 57 |

Due to WebAssembly restriction, Blazor WebAssembly doesn't support IE browser, but Blazor Server supports IE 11† with additional polyfills. See official documentation

? Current Version

Download our latest nightly builds

? Design Specification

Regularly synchronize with Official Ant Design specifications, you can check the sync logs online.

Therefore, you can use the custom theme styles of Ant Design directly.

? Installation Guide

Create a new project from the dotnet new template

We have provided the dotnet new template to create a Boilerplate project out of the box:

$ dotnet new --install AntDesign.Templates

$ dotnet new antdesign -o MyAntDesignApp

Options for the template:

| Options | Description | Type | Default |
| ----------------- | ------------------------------------------------------------------ | ------------------------------ | ------- |
| -f \| --full | If specified, generates all pages of Ant Design Pro | bool | false |
| -ho \| --host | Specify the hosting model | 'wasm' \| 'server' \| 'hosted' | 'wasm' |
| --styles | Whether use NodeJS and Less to compile your custom themes. | css \| less | css |
| --no-restore | If specified, skips the automatic restore of the project on create | bool | false |

Import Ant Design Blazor into an existing project

$ dotnet add package AntDesign


or Startup.cs (Server)




@using AntDesign


<-- add this component ✨

<Button Type="primary">Hello World!</Button>

⌨ Local Development

$ git clone [email protected]:ant-design-blazor/ant-design-blazor.git
$ cd ant-design-blazor
$ npm install
$ dotnet build ./site/AntDesign.Docs.Build/AntDesign.Docs.Build.csproj
$ npm start

Visual Studio 2019 is recommended for development.

? Links

? Roadmap

Check out this issue to learn about our development plans for 2020.

? Contributing

If you would like to contribute, feel free to create a Pull Request, or give us Bug Report.


This project exists thanks to all the people who contribute.

? Donation

This project is an MIT-licensed open source project. In order to achieve better and sustainable development of the project, we expect to gain more backers. We will use the proceeds for community operations and promotion. You can support us in any of the following ways:

We will put the detailed donation records on the backer list.

❓ Community Support

If you encounter any problems in the process, feel free to ask for help via following channels. We also encourage experienced users to help newcomers.

Scan QR Code with DingTalk

Code of Conduct

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
For more information see the .NET Foundation Code of Conduct.

☀ License

.NET Foundation

This project is supported by the .NET Foundation.