BootstrapBlazor 9.6.5
Bootstrap Blazor Component
an enterprise-level UI component library based on Bootstrap and Blazor.
This project is part of the .NET Foundation and operates under their Code Of Conduct
Online Examples
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
<BootstrapBlazorRoot>
@Body
</BootstrapBlazorRoot>
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
<link rel="stylesheet" href="_content/BootstrapBlazor/css/bootstrap.blazor.bundle.min.css" />
Add the following script at the end of the body
<script src="_content/BootstrapBlazor/js/bootstrap.blazor.bundle.min.js"></script>
Add the following to the relevant sections of Program.cs
builder.Services.AddBootstrapBlazor();
Usage
<Display Value="@_text"></Display>
<Button Text="Button" OnClick="@ClickButton"></Button>
@code {
private string? _text;
private void ClickButton(MouseEventArgs e)
{
_text = DateTime.Now.ToString();
}
}
Install CLI Template
- Install the template
dotnet new install Bootstrap.Blazor.Templates::*
- Create the Boilerplate project with the template
dotnet new bbapp
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.
.NET Foundation
This project is supported by the .NET Foundation.
Showing the top 20 packages that depend on BootstrapBlazor.
| Packages | Downloads |
|---|---|
|
Uni.Components.Core
Package Description
|
41 |
|
Uni.Components.Core
Package Description
|
34 |
|
Uni.Components.Core
Package Description
|
32 |
|
Uni.Components.Core
Package Description
|
31 |
|
Uni.Components.Core
Package Description
|
30 |
|
Uni.Components.Core
Package Description
|
20 |
|
Uni.Components.Core
Package Description
|
18 |
|
Uni.Components.Core
Package Description
|
17 |
|
Uni.Components.Core
Package Description
|
13 |
|
BootstrapBlazor.DockView
Bootstrap UI components extensions of Dock View
|
13 |
|
Uni.Components.Core
Package Description
|
12 |
|
Uni.Components.Core
Package Description
|
11 |
https://github.com/dotnetcore/BootstrapBlazor/releases?wt.mc_id=DT-MVP-5004174
.NET 6.0
- Microsoft.AspNetCore.Components.Authorization (>= 6.0.36)
- Microsoft.AspNetCore.Components.Web (>= 6.0.36)
- Microsoft.Extensions.Caching.Memory (>= 8.0.1)
- Microsoft.Extensions.Configuration.Json (>= 8.0.1)
- Microsoft.Extensions.Localization (>= 6.0.36)
- Microsoft.Extensions.Http (>= 8.0.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
.NET 9.0
- Microsoft.Extensions.Localization (>= 9.0.7)
- Microsoft.Extensions.Http (>= 9.0.7)
- Microsoft.Extensions.Configuration.Json (>= 9.0.7)
- Microsoft.Extensions.Caching.Memory (>= 9.0.7)
- Microsoft.AspNetCore.Components.Web (>= 9.0.7)
- Microsoft.AspNetCore.Components.Authorization (>= 9.0.7)
.NET 8.0
- Microsoft.Extensions.Localization (>= 8.0.18)
- Microsoft.Extensions.Http (>= 8.0.1)
- Microsoft.Extensions.Configuration.Json (>= 8.0.1)
- Microsoft.Extensions.Caching.Memory (>= 8.0.1)
- Microsoft.AspNetCore.Components.Authorization (>= 8.0.18)
- Microsoft.AspNetCore.Components.Web (>= 8.0.18)
.NET 7.0
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.1)
- Microsoft.Extensions.Localization (>= 7.0.20)
- Microsoft.AspNetCore.Components.Authorization (>= 7.0.20)
- Microsoft.AspNetCore.Components.Web (>= 7.0.20)
- Microsoft.Extensions.Caching.Memory (>= 8.0.1)
- Microsoft.Extensions.Configuration.Json (>= 8.0.1)
| Version | Downloads | Last updated |
|---|---|---|
| 9.6.5 | 14 | 8/2/2025 |
| 9.4.5-beta01 | 8 | 3/5/2025 |
| 9.3.1-beta32 | 6 | 2/22/2025 |
| 9.3.1-beta31 | 6 | 2/22/2025 |
| 9.3.1-beta23 | 6 | 2/19/2025 |
| 9.3.1-beta22 | 6 | 2/19/2025 |
| 9.3.1-beta20 | 8 | 2/18/2025 |
| 9.3.1-beta19 | 30 | 2/17/2025 |
| 9.3.1-beta17 | 9 | 2/15/2025 |
| 9.3.1-beta16 | 11 | 2/13/2025 |
| 9.3.1-beta15 | 8 | 2/13/2025 |
| 9.3.1-beta14 | 8 | 2/13/2025 |
| 9.3.1-beta13 | 9 | 2/12/2025 |
| 9.3.1-beta12 | 11 | 2/12/2025 |
| 9.3.1-beta11 | 12 | 2/11/2025 |
| 9.3.1-beta05 | 7 | 1/31/2025 |
| 9.3.1-beta04 | 14 | 1/30/2025 |
| 9.3.1-beta03 | 9 | 1/30/2025 |
| 9.2.9-beta02 | 13 | 1/21/2025 |
| 8.9.2-beta11 | 9 | 9/12/2024 |
| 8.7.3-beta01 | 13 | 7/16/2024 |