Blazorise.Components 2.0.0-preview2

Prefix Reserved
This is a prerelease version of Blazorise.Components.
dotnet add package Blazorise.Components --version 2.0.0-preview2
                    
NuGet\Install-Package Blazorise.Components -Version 2.0.0-preview2
                    
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="Blazorise.Components" Version="2.0.0-preview2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Blazorise.Components" Version="2.0.0-preview2" />
                    
Directory.Packages.props
<PackageReference Include="Blazorise.Components" />
                    
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 Blazorise.Components --version 2.0.0-preview2
                    
#r "nuget: Blazorise.Components, 2.0.0-preview2"
                    
#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 Blazorise.Components@2.0.0-preview2
                    
#: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=Blazorise.Components&version=2.0.0-preview2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Blazorise.Components&version=2.0.0-preview2&prerelease
                    
Install as a Cake Tool

Blazorise

Blazorise: Blazor UI Components for .NET

NuGet Nuget Discord License

Blazorise is an open-source Blazor UI component library for building modern .NET web apps in C#. It provides a consistent component API across popular CSS frameworks, so you can build with Bootstrap 5, Tailwind CSS, Bulma, Material, AntDesign, or Fluent UI 2 without rewriting your app. Blazorise works with Blazor WebAssembly and Blazor Server, and supports theming, layouts, forms, and rich UI components.

Highlights

  • Provider-agnostic components with multiple CSS framework providers.
  • C#-first development with a consistent API across providers.
  • Works in Blazor WebAssembly and Blazor Server apps.
  • Optional commercial themes, blocks, and priority support.

Commercial licensing

Blazorise is dual-licensed. Use is governed by the terms in LICENSE.md or a commercial license, depending on your scenario. For teams that need premium assets and support, commercial subscriptions are available.

Commercial subscriptions include:

* Some features may be exclusive to specific subscription tiers.

Supporting Blazorise

Blazorise is an open source project with its ongoing development made possible entirely by the support of these awesome backers.

Special Partners

<table> <tbody> <tr> <td align="center" valign="middle"> <a href="https://volosoft.com/" target="_blank"> <img width="222px" src="https://volosoft.com/assets/logos/volosoft-logo-dark.svg"> </a> </td> <td align="center" valign="middle"> <a href="https://www.pebble.tv/" target="_blank"> <img width="222px" src="https://www.pebble.tv/wp-content/uploads/2020/10/logo.svg"> </a> </td> </tr> <tr></tr> </tbody> </table>

Demos

Blazor WebAssembly

Blazor Server

Documentation

For full documentation, component API references, and detailed guides, visit the Blazorise official documentation pages.

Continue reading below for a quick start guide.

Installation

Prerequisites

Before you continue, make sure you have a recent .NET SDK and a supported IDE (Visual Studio or VS Code). Visit the official Blazor site to learn more.

Provider packages

There are currently 7 provider packages, one per supported CSS framework.

Available Blazorise packages are:

- Blazorise.Tailwind
- Blazorise.Bootstrap
- Blazorise.Bootstrap5
- Blazorise.Bulma
- Blazorise.Material
- Blazorise.AntDesign
- Blazorise.FluentUI2

This guide shows how to set up Blazorise with Bootstrap 5 and FontAwesome 6 icons. To set up Blazorise for other CSS frameworks, refer to the Usage page in the documentation.

1. NuGet packages

Install a provider package and any icon package you want to use. Example for Bootstrap 5 and FontAwesome:

dotnet add package Blazorise.Bootstrap5

And FontAwesome icon package:

dotnet add package Blazorise.Icons.FontAwesome

2. Source files

Add the following to index.html (Blazor WebAssembly), _Host.cshtml (Blazor Server), or App.razor (.NET 8+ Blazor Web App) in the head section.

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link href="_content/Blazorise.Icons.FontAwesome/v6/css/all.min.css" rel="stylesheet">

<link href="_content/Blazorise/blazorise.css?v=2.0.0.0" rel="stylesheet" />
<link href="_content/Blazorise.Bootstrap5/blazorise.bootstrap5.css?v=2.0.0.0" rel="stylesheet" />

The ?v=2.0.0.0 query string matches the current Blazorise package version (2.0.0) and is used for cache busting. Update it whenever you upgrade Blazorise packages. If you use a different provider, swap the Bootstrap CSS and provider-specific Blazorise CSS file accordingly.

2.1 JavaScript resources

Blazorise loads any additional JavaScript it needs dynamically once a component needs it. Make sure the resources are available and served relative to the app root. For Blazor Server, enable static files with app.UseStaticFiles();.

If you're having any difficulties, please refer to the following issues:

We are also aware that there might need to be extra setup when dealing with PWA and offline capabilities if you want your app to remain responsive. Please check our PWA docs for more information.

3. Usings

In your main _Imports.razor, add:

@using Blazorise

4. Service registration

Add the following lines to the relevant sections of Program.cs.

using Blazorise;
using Blazorise.Bootstrap5;
using Blazorise.Icons.FontAwesome;
builder.Services
  .AddBlazorise()
  .AddBootstrap5Providers()
  .AddFontAwesomeIcons();

Examples

Counter page

@page "/counter"

<Heading Size="HeadingSize.Is1">Counter</Heading>

<Paragraph>Current count: @currentCount</Paragraph>

<Button Color="Color.Primary" Clicked="IncrementCount">Click me</Button>

@code {
    private int currentCount;

    private void IncrementCount()
    {
        currentCount++;
    }
}

Simple form

@page "/profile"

<Heading Size="HeadingSize.Is3">Profile</Heading>

<TextInput @bind-Value="displayName" Placeholder="Ada Lovelace" />

<Button Color="Color.Primary" Clicked="Save">Save</Button>

<Alert Color="Color.Success" Visible="isSaved">
    Saved!
</Alert>

@code {
    private string displayName = string.Empty;
    private bool isSaved;

    private void Save()
    {
        isSaved = true;
    }
}

Development builds

We release a development version of Blazorise on a regular basis. This version is available on the MyGet feed. This release is not recommended for production use, but it's a great way to test the latest features and bug fixes and give us feedback ahead of the next release.

Contributing

We welcome contributions and any suggestions or feature requests you might have. Contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. This will be signed once you submit a PullRequest on our repository. For details about our CLA, please visit: Contributor License Agreement.

For our code conventions and guidelines please visit: Contributing Guide

Copyright (c) Megabit d.o.o.

Dual-licensed. See LICENSE.md.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 is compatible.  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 is compatible.  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 (24)

Showing the top 5 NuGet packages that depend on Blazorise.Components:

Package Downloads
Volo.Abp.BlazoriseUI

Package Description

ZhileTime.Hope.BlazoriseUI

Package Description

Ngs.Client.Ui

Package Description

EtAlii.Ubigia.Infrastructure.Transport.Admin.Portal

Package Description

SmartDynamicBlazor

Componenti dinamici per la gestione delle entità tramite Entity Framework Core in Blazor. Dll SmartDynamicBlazor

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Blazorise.Components:

Repository Stars
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
abpframework/abp-samples
Sample solutions built with the ABP Framework
antosubash/abp-microservice
An abp microservice sample
Version Downloads Last Updated
2.0.0-preview2 60 1/26/2026
2.0.0-preview1 96 1/16/2026
1.8.9 1,016 1/16/2026
1.8.8 7,685 12/10/2025
1.8.7 11,130 11/20/2025
1.8.6 34,821 11/12/2025
1.8.5 9,420 10/14/2025
1.8.4 2,517 10/8/2025
1.8.3 5,712 9/22/2025
1.8.2 3,663 9/11/2025
1.8.1 47,234 8/19/2025
1.8.0 29,562 7/7/2025
1.7.7 55,317 6/3/2025
1.7.6 49,709 4/18/2025
1.7.5 23,314 2/28/2025
1.7.4 20,195 2/4/2025
1.7.3 37,097 1/17/2025
1.7.2 9,518 12/30/2024
1.7.1 19,990 12/10/2024
1.7.0 22,080 11/15/2024
1.7.0-preview1 321 10/24/2024
1.6.2 86,170 10/15/2024
1.6.1 39,307 8/22/2024
1.6.0 34,673 7/23/2024
1.5.3 35,227 6/3/2024
1.5.2 144,913 4/22/2024
1.5.1 23,321 3/27/2024
1.5.0 8,453 3/18/2024
1.5.0-preview2 192 3/8/2024
1.5.0-preview1 466 2/9/2024
1.4.3 7,363 3/13/2024
1.4.2 42,728 1/29/2024
1.4.1 120,703 1/16/2024
1.4.0 26,292 12/8/2023
1.3.4 7,708 12/18/2023
1.3.3 34,009 11/15/2023
1.3.2 49,471 10/19/2023
1.3.1 79,538 8/18/2023
1.3.0 4,194 8/16/2023
1.3.0-preview1 294 8/9/2023
1.2.5 15,513 8/8/2023
1.2.4 44,532 6/14/2023
1.2.3 87,421 5/3/2023
1.2.2 26,833 3/20/2023
1.2.1 14,236 2/21/2023
1.2.0 100,695 2/1/2023
1.2.0-preview2 383 1/26/2023
1.2.0-preview1 348 1/26/2023
1.1.7 2,683 2/3/2023
1.1.6 15,367 1/17/2023
1.1.5 24,025 12/13/2022
1.1.4.1 53,943 11/24/2022
1.1.4 2,944 11/24/2022
1.1.3.1 63,579 11/8/2022
1.1.3 619 11/8/2022
1.1.2 17,298 10/19/2022
1.1.1 23,755 9/30/2022
1.1.0 1,408 9/27/2022
1.1.0-rc1 421 9/22/2022
1.0.7 5,784 10/6/2022
1.0.6 102,972 7/25/2022
1.0.5 75,733 6/7/2022
1.0.4 169,539 4/20/2022
1.0.3 7,124 4/11/2022
1.0.2 64,774 3/30/2022
1.0.1 34,831 3/8/2022
1.0.0 3,260 3/4/2022
0.9.5.7 14,427 3/8/2022
0.9.5.6 5,020 2/22/2022
0.9.5.5 24,383 2/1/2022
0.9.5.4 80,810 1/4/2022
0.9.5.3 7,493 12/20/2021
0.9.5.2 7,186 12/2/2021
0.9.5.1 1,453 11/29/2021
0.9.5 40,861 11/15/2021
0.9.4.9 2,535 11/18/2021
0.9.4.8 12,639 11/9/2021
0.9.4.7 7,395 10/21/2021
0.9.4.6 15,354 10/4/2021
0.9.4.5 1,963 10/4/2021
0.9.4.4 13,475 9/8/2021
0.9.4.3 11,635 8/11/2021
0.9.4.2 9,278 8/2/2021
0.9.4.1 47,959 7/21/2021
0.9.4 2,942 7/19/2021
0.9.3.10 4,862 7/5/2021
0.9.3.9 6,409 6/17/2021
0.9.3.8 10,205 6/9/2021
0.9.3.7 6,996 6/1/2021
0.9.3.6 24,766 4/28/2021
0.9.3.5 45,351 4/21/2021
0.9.3.4 5,948 4/7/2021
0.9.3.3 7,018 3/26/2021
0.9.3.2 1,830 3/22/2021
0.9.3.1 3,406 3/17/2021
0.9.3 5,699 3/3/2021
0.9.2.5 29,472 1/12/2021
0.9.2.4 10,380 12/10/2020
0.9.2.3 3,784 12/2/2020
0.9.2.2 1,518 11/26/2020
0.9.2.1 4,861 11/22/2020
0.9.2 4,275 11/13/2020
0.9.1.2 54,074 7/17/2020
0.9.1.1 6,166 6/30/2020
0.9.1 2,323 6/23/2020
0.9.0.3 7,564 5/21/2020
0.9.0.2 2,604 5/6/2020
0.9.0.1 1,577 4/23/2020
0.9.0 3,544 4/18/2020
0.8.8.4 5,841 3/14/2020
0.8.8.3 3,088 2/13/2020
0.8.8.2 1,812 1/29/2020
0.8.8.1 2,023 1/21/2020
0.8.8 1,431 1/9/2020
0.8.7.2 2,398 12/4/2019
0.8.7.1 632 11/29/2019
0.8.7 534 11/28/2019
0.8.6.4 1,351 11/14/2019
0.8.6.3 623 11/6/2019
0.8.6.2 729 10/16/2019
0.8.6.1 1,529 9/26/2019
0.8.6 842 9/26/2019
0.8.5 665 9/19/2019
0.8.4 827 9/6/2019
0.8.3 591 8/30/2019
0.8.2 830 8/17/2019
0.8.1 630 8/7/2019
0.8.0 609 7/30/2019
0.7.8 802 6/18/2019
0.7.7 597 6/14/2019
0.7.6 996 6/7/2019
0.7.5 915 6/5/2019
0.7.4 2,519 5/27/2019