dotnetcore /BootstrapBlazor
Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.
★ 4,962⑂ 394👁 45⑃ 3,909● 4,467▤ 130
+0
Daily
4,962
stars
394
forks
45
watchers
3,909
prs
4,467
issues
130
releases
README
Bootstrap Blazor Component
Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.
English | 中文
---
.NET Foundation
This project is part of the .NET Foundation and operates under their code of conduct.
Online Examples
Environment
- Install .net SDK Official website
- Install Visual Studio latest Official website
Quick Installation Guide
Install Package
dotnet add package BootstrapBlazor
Add the following to _Imports.razor
@using BootstrapBlazor.Components
Add the following to the MainLayout.razor
html
@Body
Add the following to your HTML head section
it's either index.html or _Layout.cshtml/_Host.cshtml/App.razor depending on whether you're running WebAssembly or Server
html
Add the following script at the end of the body
html
Add the following to the relevant sections of Program.cs
csharp
builder.Services.AddBootstrapBlazor();
Usage
razor
@code {
private string? _text;
private void ClickButton(MouseEventArgs e)
{
_text = DateTime.Now.ToString();
}
}
Install CLI Template
1. Install the template
dotnet new install Bootstrap.Blazor.Templates::
2. Create the Boilerplate project with the template
dotnet new bbapp
Contribution
1. Fork
2. Create Feat_xxx branch
3. Commit
4. Create Pull Request
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.
Donate
If this project is helpful to you, please scan the QR code below for a cup of coffee.
Sponsor
Thanks to JetBrains for providing free open source licenseTop issues
#7523bug(Tab): 在 auto per 模式下工作不正常7 comments · 2026-01-16#8742feat(DateTimeRange): support DateTime data type1 comments · 2026-11-14#8478bug(Table): incorrect widths and alignment after resizing columns1 comments · 2026-09-22
Discussions
#8739chore(Bootstrap): upgrade Bootstrap v6 progress1 comments · 2026-11-12#8507希望讓 DateTimeRange 支援 DateTime1 comments · 2026-10-09#8501增加配置项,允许关闭 NotAuthorized 后自动跳转 NotAuthorizeUrl4 comments · 2026-10-09#8333feat(Modal): Table 的编辑窗口弹窗被遮挡8 comments · 2026-08-17#8246SaveToFileAsync 保存图片超时6 comments · 2026-07-20#8247Table 组件 数据是动态对象 分页问题6 comments · 2026-07-18#8229关于布局组件Row的跨列显示问题3 comments · 2026-07-15#8220Rate组件在Table -> EditTemplate 中,使用bind-Value绑定无法减星4 comments · 2026-07-05
Latest release
v11.1.0 v11.1.0 2026-11-12Release 2026-11-11 V11.1.0 Fixes fix(Calendar): honour FirstDayOfWeek for the month start and the week header by @rabauss in https://github.com/dotnetcore/BootstrapBlazor/pull/8658 fix(ImageViewer): use PreviewIndex on initial render by @ArgoZhang in https://github.com/dotnetcore/BootstrapBlazor/pull/8689 fix(Theme): resolve auto theme for dependent UI by @ArgoZhang in https://github.com/dotnetcore/BootstrapBlazor/pull/8691 fix(DockView): persist active panel when renderer is always by @ArgoZhang in https://github.com/dotnetcore/BootstrapBlazor/pull/8701 Features feat(Validat