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
C#Apache-2.0Created 2020-03-20blazor.zone
Download: v11.1.0v11.1.0 ↓11.1.02026-11-12
+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 license

Top issues

Discussions

Latest release

v11.1.0 v11.1.0 2026-11-12
Release 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

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON