About this project
Bootstrap Blazor is an enterprise-level UI component library for Blazor applications, built on top of Bootstrap. It is distributed as the NuGet package BootstrapBlazor and is described as part of the .NET Foundation, operating under that foundation's code of conduct.
What the project provides
- A component library for Blazor, referenced in Razor code through the BootstrapBlazor.Components namespace.
- A root component (BootstrapBlazorRoot) that wraps the application body, typically placed in MainLayout.razor.
- Bundled static assets: a CSS bundle (bootstrap.blazor.bundle.min.css) and a JavaScript bundle (bootstrap.blazor.bundle.min.js), referenced via the _content/BootstrapBlazor path so they work for both WebAssembly and Server hosting models.
- Dependency-injection registration through builder.Services.AddBootstrapBlazor() in Program.cs.
Getting started
The README outlines a short installation path: run "dotnet add package BootstrapBlazor", add the component namespace to _Imports.razor, wrap the body in BootstrapBlazorRoot, include the CSS bundle in the document head, include the script bundle at the end of the body, and register the services in Program.cs. It notes that the exact HTML host file differs depending on whether the app runs as WebAssembly or Server (index.html versus _Layout.cshtml, _Host.cshtml or App.razor).
Usage example
The documentation shows Razor markup with a Display component bound to a field and a Button whose OnClick handler updates that field — a minimal demonstration of data binding and event handling.
Project template
A companion CLI template is published as Bootstrap.Blazor.Templates. It can be installed with "dotnet new install Bootstrap.Blazor.Templates::*", after which "dotnet new bbapp" scaffolds a boilerplate project.
Examples, quality signals and community
An online example site is linked at blazor.zone. The repository badges indicate NuGet version and download counts, repository size, last commit date, a GitHub Actions build workflow, and code coverage reporting via Codecov. The README also links the .NET Foundation project page and describes a standard contribution flow of fork, feature branch, commit and pull request. JetBrains is credited as a sponsor providing a free open-source license, and the README includes a donation section.
The material above reflects only what the README documents: a Bootstrap-based Blazor component library with published package, template, example site, build and coverage badges, and .NET Foundation affiliation.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.