BlazorStrap 5.0.0-Preview-4

This is a prerelease version of BlazorStrap.
There is a newer version of this package available.
See the version list below for details.
dotnet add package BlazorStrap --version 5.0.0-Preview-4
                    
NuGet\Install-Package BlazorStrap -Version 5.0.0-Preview-4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BlazorStrap" Version="5.0.0-Preview-4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BlazorStrap" Version="5.0.0-Preview-4" />
                    
Directory.Packages.props
<PackageReference Include="BlazorStrap" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BlazorStrap --version 5.0.0-Preview-4
                    
#r "nuget: BlazorStrap, 5.0.0-Preview-4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BlazorStrap@5.0.0-Preview-4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BlazorStrap&version=5.0.0-Preview-4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=BlazorStrap&version=5.0.0-Preview-4&prerelease
                    
Install as a Cake Tool

BlazorStrap targeting Bootstrap 5.1

Note: Continue to target 1.X for BootStrap 4. These versions are not fully compatible with each other.

There should be no more breaking changes from this point. If the listed known issues does not affect your project you are safe to use it in production. All future updates will be bug fixes and addons

  • Added: Events for Toggled components, OnShow, OnHide, OnHidden, OnShown
  • Added: Option on BSCollapse to disable animations. Helps with themes that just find the navbar and not animate it out.
  • Added: BSCard and now place holder images see docs.
  • Added: blazorstrap.min.js
  • Added: All Toggle Components such as Modal, OffCanvas now have public ShowAsync, HideAsync, and ToggleAsync
  • Added: Support for multiselect
  • Added: .NET 6 TimeOnly, DateOnly input class types
  • Fixed: Binding issue on inputs
  • Fixed: Progress bar now correctly values each size.
  • Changed: BSButton IsLink now uses the new .bnt-link and no longer renders as a <a> tag
  • Changed: BSLink now has IsButton for adding .btn classes to <a> tags
  • Changed: Cards now use the 4.0 build style
  • Changed: BSCollapse now animates fully with JavaScript
  • Removed: IsBasic Parameter
  • Removes: BSDiv there was no point to this tag.

Known Issues

  • Clicking Carousel indicators can cause odd affect if the slide is moving or just finished when you click.
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on BlazorStrap:

Package Downloads
BlazorStrap.V5

Bootstrap 5.x component library for BlazorStrap

OneLine.Blazor

OneLine.Blazor is a set of components and utilities to be used in blazor context.

BlazorStrap.Extensions.BSDataTable

A Datatable library for blazorstrap

BlazorStrap.V4

Bootstrap 4.x component library for BlazorStrap

DragonFly.Client

Headless CMS based on ASP.NET Core and Blazor

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on BlazorStrap:

Repository Stars
DamianEdwards/BlazorIdentity
An exploration of recreating the ASP.NET Core Identity UI functionality in Blazor components.
harrison314/BouncyHsm
Bouncy Hsm is a software simulator of HSM and smartcard simulator with HTML UI, REST API and PKCS#11 interface.
TRKS-Team/WFBot
一个 Warframe 的多聊天平台机器人
Version Downloads Last Updated
5.2.105-Preview-2 201 10/15/2025
5.2.105-Preview-1 346 9/16/2025
5.2.104 24,190 6/21/2025
5.2.103.250524 2,522 5/24/2025
5.2.103.250519 1,280 5/18/2025
5.2.103.250102 53,942 1/3/2025
5.2.103.122024 40,896 12/18/2024
5.2.103.121624 453 12/16/2024
5.2.103.120724 2,808 12/7/2024
5.2.103.10225 291 1/3/2025
5.2.103 5,829 11/28/2024
5.2.103-RC2 209 11/17/2024
5.2.103-RC1a 201 10/22/2024
5.2.103-RC1 581 10/22/2024
5.2.103-Beta2b 207 10/14/2024
5.2.103-Beta2a 174 10/14/2024
5.2.103-Beta2 928 9/25/2024
5.2.103-Beta1a 191 9/19/2024
5.2.103-Beta1 230 9/13/2024
5.2.102-Preview3c 180 9/7/2024
5.2.102-Preview3a 180 9/7/2024
5.2.102-Preview3 233 9/6/2024
5.2.102-Preview2c 202 9/4/2024
5.2.102-Preview2b 251 8/21/2024
5.2.102-Preview2a 178 8/20/2024
5.2.102-Preview2 243 8/20/2024
5.2.102-Preview1 332 8/10/2024
5.2.101 35,271 8/10/2024
5.2.100.61524 13,298 6/15/2024
5.2.100 3,062 6/15/2024
5.2.100-Preview3b 4,545 7/4/2023
5.2.100-Preview3a 1,212 6/22/2023
5.2.100-Preview3 1,265 6/11/2023
5.2.100-Preview2b 1,231 6/11/2023
5.2.100-Preview2a 1,158 6/5/2023
5.2.100-Preview2 1,226 6/4/2023
5.2.100-Preview1a 1,173 6/3/2023
5.2.100-Preview1 1,205 6/3/2023
5.1.103-Preview1b 1,144 5/29/2023
5.1.103-Preview1a 1,418 5/20/2023
5.1.103-Preview1 1,585 5/19/2023
5.1.102.51923 89,933 5/19/2023
5.1.102.51723 28,864 5/17/2023
5.1.102.51623 1,465 5/16/2023
5.1.102.50923 2,056 5/10/2023
5.1.102-Preview7 916 5/2/2023
5.1.102-Preview6 14,347 4/18/2023
5.1.102-Preview5 1,057 4/1/2023
5.1.102-Preview4 2,073 3/22/2023
5.1.102-Preview3 1,280 3/21/2023
5.1.102-Preview1 1,271 3/20/2023
5.1.101 23,577 3/16/2023
5.1.100 65,268 12/25/2022
5.1.100-Preview7 2,117 12/15/2022
5.1.100-Preview6 1,558 12/6/2022
5.1.100-Preview5 1,376 12/2/2022
5.1.100-Preview4 1,169 11/19/2022
5.1.100-Preview3 855 11/18/2022
5.1.100-Preview2 860 11/11/2022
5.1.100-Preview1 3,892 9/5/2022
5.1.100-Beta2 992 8/6/2022
5.1.100-Beta1 938 7/23/2022
5.0.106 170,513 7/23/2022
5.0.106-Preview3 26,440 7/7/2022
5.0.106-Preview2 1,957 5/30/2022
5.0.106-Preview1 906 5/18/2022
5.0.106-Beta1 873 5/5/2022
5.0.105.4262022 25,025 4/26/2022
5.0.105.4222022 1,508 4/22/2022
5.0.105 3,809 4/17/2022
5.0.105-Preview4 570 4/14/2022
5.0.105-Preview3 533 4/10/2022
5.0.105-Preview2 687 4/10/2022
5.0.105-Preview1 1,085 3/15/2022
5.0.104 10,829 3/10/2022
5.0.103 23,840 2/6/2022
5.0.102 1,452 1/31/2022
5.0.101 2,753 1/13/2022
5.0.0 2,243 1/9/2022
5.0.0-RC-6 702 1/3/2022
5.0.0-RC-5 434 1/1/2022
5.0.0-RC-3 401 12/31/2021
5.0.0-Preview-4 425 12/29/2021
1.5.102-Preview2 1,201 3/15/2022
1.5.102-Preview1 5,834 12/18/2021
1.5.101-Preview-6 4,271 7/28/2021
1.5.101-Preview-5 5,699 4/6/2021
1.5.101-Preview-4 1,732 3/10/2021
1.5.101-Preview-2 519 3/10/2021
1.5.101-Preview-1 2,289 2/18/2021
1.5.1 226,958 2/18/2021
1.5.0 13,120 2/3/2021
1.5.0-preview-03 3,771 12/14/2020
1.5.0-preview-02 2,712 11/22/2020
1.5.0-preview-01 4,689 10/13/2020
1.3.3 236,747 9/16/2020
1.3.3-Preview-04 940 9/1/2020
1.3.3-Preview-03 4,135 6/3/2020
1.3.3-Preview-02 1,129 5/26/2020
1.3.3-Preview-01 720 5/25/2020
1.3.2 77,120 5/20/2020
1.3.2-Preview1-04 31,285 5/2/2020
1.3.2-Preview1-03 1,004 4/29/2020
1.3.2-Preview1-02 2,252 4/25/2020
1.3.2-Preview1-01 1,026 4/11/2020
1.3.1 44,440 4/1/2020
1.3.0 5,925 3/15/2020
1.2.0 31,391 2/29/2020
1.1.101 13,182 12/15/2019
1.1.0-preview1-03 1,909 11/12/2019
1.1.0-preview1-02 1,187 10/19/2019
1.1.0-preview1-01 689 10/15/2019
1.0.106 27,796 10/19/2019
1.0.105 2,729 10/8/2019
1.0.104 2,482 10/1/2019
1.0.103 2,571 10/1/2019
1.0.102 1,308 10/1/2019
1.0.101 1,478 9/30/2019
1.0.1 1,930 9/26/2019
1.0.0 3,318 9/23/2019