Blazorise.Components 2.0.0

Prefix Reserved
dotnet add package Blazorise.Components --version 2.0.0
                    
NuGet\Install-Package Blazorise.Components -Version 2.0.0
                    
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" />
                    
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" />
                    
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
                    
#r "nuget: Blazorise.Components, 2.0.0"
                    
#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
                    
#: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
                    
Install as a Cake Addin
#tool nuget:?package=Blazorise.Components&version=2.0.0
                    
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 0 2/11/2026
2.0.0-preview2 96 1/26/2026
2.0.0-preview1 102 1/16/2026
1.8.10 551 2/4/2026
1.8.9 2,170 1/16/2026
1.8.8 10,639 12/10/2025
1.8.7 13,208 11/20/2025
1.8.6 38,377 11/12/2025
1.8.5 10,416 10/14/2025
1.8.4 2,649 10/8/2025
1.8.3 5,941 9/22/2025
1.8.2 3,774 9/11/2025
1.8.1 48,920 8/19/2025
1.8.0 30,299 7/7/2025
1.7.7 55,668 6/3/2025
1.7.6 50,636 4/18/2025
1.7.5 23,780 2/28/2025
1.7.4 20,383 2/4/2025
1.7.3 37,630 1/17/2025
1.7.2 9,543 12/30/2024
1.7.1 20,487 12/10/2024
1.7.0 22,721 11/15/2024
1.7.0-preview1 324 10/24/2024
1.6.2 87,081 10/15/2024
1.6.1 39,755 8/22/2024
1.6.0 34,784 7/23/2024
1.5.3 35,573 6/3/2024
1.5.2 146,293 4/22/2024
1.5.1 23,468 3/27/2024
1.5.0 8,501 3/18/2024
1.5.0-preview2 194 3/8/2024
1.5.0-preview1 470 2/9/2024
1.4.3 7,422 3/13/2024
1.4.2 42,973 1/29/2024
1.4.1 121,176 1/16/2024
1.4.0 26,360 12/8/2023
1.3.4 7,804 12/18/2023
1.3.3 34,128 11/15/2023
1.3.2 49,573 10/19/2023
1.3.1 79,671 8/18/2023
1.3.0 4,207 8/16/2023
1.3.0-preview1 298 8/9/2023
1.2.5 15,628 8/8/2023
1.2.4 45,109 6/14/2023
1.2.3 87,468 5/3/2023
1.2.2 26,855 3/20/2023
1.2.1 14,256 2/21/2023
1.2.0 100,761 2/1/2023
1.2.0-preview2 386 1/26/2023
1.2.0-preview1 352 1/26/2023
1.1.7 2,696 2/3/2023
1.1.6 15,433 1/17/2023
1.1.5 24,084 12/13/2022
1.1.4.1 53,964 11/24/2022
1.1.4 2,956 11/24/2022
1.1.3.1 63,718 11/8/2022
1.1.3 627 11/8/2022
1.1.2 17,367 10/19/2022
1.1.1 23,783 9/30/2022
1.1.0 1,416 9/27/2022
1.1.0-rc1 424 9/22/2022
1.0.7 5,793 10/6/2022
1.0.6 103,332 7/25/2022
1.0.5 75,809 6/7/2022
1.0.4 169,653 4/20/2022
1.0.3 7,140 4/11/2022
1.0.2 64,925 3/30/2022
1.0.1 34,845 3/8/2022
1.0.0 3,266 3/4/2022
0.9.5.7 14,522 3/8/2022
0.9.5.6 5,028 2/22/2022
0.9.5.5 24,458 2/1/2022
0.9.5.4 80,897 1/4/2022
0.9.5.3 7,503 12/20/2021
0.9.5.2 7,190 12/2/2021
0.9.5.1 1,455 11/29/2021
0.9.5 40,906 11/15/2021
0.9.4.9 2,541 11/18/2021
0.9.4.8 12,643 11/9/2021
0.9.4.7 7,407 10/21/2021
0.9.4.6 15,360 10/4/2021
0.9.4.5 1,964 10/4/2021
0.9.4.4 13,479 9/8/2021
0.9.4.3 11,639 8/11/2021
0.9.4.2 9,281 8/2/2021
0.9.4.1 47,968 7/21/2021
0.9.4 2,945 7/19/2021
0.9.3.10 4,867 7/5/2021
0.9.3.9 6,413 6/17/2021
0.9.3.8 10,272 6/9/2021
0.9.3.7 7,005 6/1/2021
0.9.3.6 24,791 4/28/2021
0.9.3.5 45,371 4/21/2021
0.9.3.4 5,954 4/7/2021
0.9.3.3 7,023 3/26/2021
0.9.3.2 1,834 3/22/2021
0.9.3.1 3,410 3/17/2021
0.9.3 5,703 3/3/2021
0.9.2.5 29,519 1/12/2021
0.9.2.4 10,385 12/10/2020
0.9.2.3 3,789 12/2/2020
0.9.2.2 1,527 11/26/2020
0.9.2.1 4,866 11/22/2020
0.9.2 4,282 11/13/2020
0.9.1.2 54,263 7/17/2020
0.9.1.1 6,179 6/30/2020
0.9.1 2,327 6/23/2020
0.9.0.3 7,572 5/21/2020
0.9.0.2 2,611 5/6/2020
0.9.0.1 1,581 4/23/2020
0.9.0 3,549 4/18/2020
0.8.8.4 5,849 3/14/2020
0.8.8.3 3,092 2/13/2020
0.8.8.2 1,815 1/29/2020
0.8.8.1 2,040 1/21/2020
0.8.8 1,437 1/9/2020
0.8.7.2 2,402 12/4/2019
0.8.7.1 635 11/29/2019
0.8.7 539 11/28/2019
0.8.6.4 1,354 11/14/2019
0.8.6.3 628 11/6/2019
0.8.6.2 733 10/16/2019
0.8.6.1 1,532 9/26/2019
0.8.6 847 9/26/2019
0.8.5 668 9/19/2019
0.8.4 830 9/6/2019
0.8.3 595 8/30/2019
0.8.2 834 8/17/2019
0.8.1 635 8/7/2019
0.8.0 616 7/30/2019
0.7.8 806 6/18/2019
0.7.7 603 6/14/2019
0.7.6 1,000 6/7/2019
0.7.5 919 6/5/2019
0.7.4 2,528 5/27/2019