BootstrapBlazor 8.9.2-beta11

Bootstrap Blazor Component

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

License Github build Repo Size Commit Date codecov


Features

  • Enterprise-class UI designed for web applications.
  • A set of high-quality Blazor components out of the box.
  • Supports WebAssembly-based client-side and SignalR-based server-side UI event interaction.
  • Supports Progressive Web Applications (PWA).
  • Build with C#, a multi-paradigm static language for an efficient development experience.
  • .NET Standard 2.1 based, with direct reference to the rich .NET ecosystem.
  • Supports NET5. (Server-Side, WASM)
  • Seamless integration with existing ASP.NET Core MVC and Razor Pages projects.

Online Examples

website website

Installation Guide

git clone https://github.com/dotnetcore/BootstrapBlazor.git
cd BootstrapBlazor/src/BootstrapBlazor.Server
dotnet run

Create a new project from the dotnet new template

  1. Install the template

dotnet new install Bootstrap.Blazor.Templates::*

  1. Create the Boilerplate project with the template

dotnet new bbapp

Install Bootstrap Blazor Project Template

  1. Download Project Template

Microsoft Market link

  1. Double Click BootstrapBlazor.UITemplate.vsix

Import Bootstrap Blazor into an existing project

  1. Go to the project folder of the application and install the Nuget package reference

dotnet add package BootstrapBlazor

  1. Add the stylesheet javascripts file to your main index file - Pages/_Host.cshtml (Server) or wwwroot/index.html (WebAssembly)

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    . . .
    <link rel="stylesheet" href="_content/BootstrapBlazor/css/bootstrap.blazor.bundle.min.css">
</head>
<body>
    . . .
    <script src="_framework/blazor.server.js"></script>
    <script src="_content/BootstrapBlazor/js/bootstrap.blazor.bundle.min.js"></script>
</body>
</html>
  1. Open the ~/Startup.cs file in the and register the Bootstrap Blazor service:

C#

namespace BootstrapBlazorAppName
{
    public class Startup
    {
        public void ConfigureServices(IServiceCollection services)
        {
            //more code may be present here
            services.AddBootstrapBlazor();
        }

        //more code may be present here
    }
}

Visual Studio Integration

To create a new Bootstrap Blazor UI for Blazor application, use the Create New Project Wizard. The wizard detects all installed versions of Bootstrap Blazor for Blazor and lists them in the Version combobox—this enables you to start your project with the desired version. You can also get the latest version to make sure you are up to date.

  1. Get the Wizard

To use the Create New Project Wizard, install the Bootstrap Blazor UI for Blazor Visual Studio Extensions. You can get it from the:

  • Visual Studio Marketplace (for Windows)
  1. Start the Wizard

To start the wizard, use either of the following approaches

Using the Project menu:

  • Click File > New > Project.
  • Find and click the C# Blazor Application option (you can use the search, or filter by Blazor templates).
  • Follow the wizard.

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

Version Downloads Last updated
9.6.5 15 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