![]() |
VOOZH | about |
dotnet add package Blazorise.Snackbar --version 2.2.1
NuGet\Install-Package Blazorise.Snackbar -Version 2.2.1
<PackageReference Include="Blazorise.Snackbar" Version="2.2.1" />
<PackageVersion Include="Blazorise.Snackbar" Version="2.2.1" />Directory.Packages.props
<PackageReference Include="Blazorise.Snackbar" />Project file
paket add Blazorise.Snackbar --version 2.2.1
#r "nuget: Blazorise.Snackbar, 2.2.1"
#:package Blazorise.Snackbar@2.2.1
#addin nuget:?package=Blazorise.Snackbar&version=2.2.1Install as a Cake Addin
#tool nuget:?package=Blazorise.Snackbar&version=2.2.1Install as a Cake Tool
Blazorise is a source-available Blazor UI component library for building modern .NET web applications in C#. It provides a consistent, strongly-typed component API across popular CSS frameworks, allowing you to build with Bootstrap 5, Tailwind CSS, Bulma, Material, AntDesign, or Fluent UI 2 without rewriting your application.
Blazorise is dual-licensed. Use is governed by the terms in 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.
Blazorise is a source-available project, and its ongoing development is made possible through the support of its partners, subscribers, and community contributors.
<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>
For full documentation, component API references, and detailed guides, visit the Blazorise official documentation pages.
Continue reading below for a quick start guide.
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.
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.
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
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.8/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
<link href="_content/Blazorise.Icons.FontAwesome/v6/css/all.min.css" rel="stylesheet">
<link href="_content/Blazorise/blazorise.css?v=2.2.1.0" rel="stylesheet" />
<link href="_content/Blazorise.Bootstrap5/blazorise.bootstrap5.css?v=2.2.1.0" rel="stylesheet" />
The ?v=2.2.1.0 query string matches the current Blazorise package version (2.2.1) 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.
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.
In your main _Imports.razor, add:
@using Blazorise
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();
@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++;
}
}
@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;
}
}
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.
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 .
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Blazorise.Snackbar:
| Package | Downloads |
|---|---|
|
Blazorise.Components
Blazorise is a component library built on top of Blazor and CSS frameworks like Bootstrap, Bulma and Material. |
|
|
Volo.Abp.BlazoriseUI
Package Description |
|
|
ZhileTime.Hope.BlazoriseUI
Package Description |
|
|
Ngs.Client.Ui
Package Description |
|
|
EtAlii.Ubigia.Infrastructure.Transport.Admin.Portal
Package Description |
Showing the top 2 popular GitHub repositories that depend on Blazorise.Snackbar:
| 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.
|
|
|
antosubash/abp-microservice
An abp microservice sample
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.1 | 347 | 6/16/2026 |
| 2.2.0 | 1,704 | 6/4/2026 |
| 2.1.3 | 2,386 | 5/22/2026 |
| 2.1.2 | 3,014 | 5/6/2026 |
| 2.1.1 | 3,725 | 4/24/2026 |
| 2.1.0 | 2,499 | 4/15/2026 |
| 2.0.4 | 26,612 | 4/3/2026 |
| 2.0.3 | 3,041 | 3/20/2026 |
| 2.0.3-preview1 | 154 | 3/10/2026 |
| 2.0.2 | 4,309 | 3/6/2026 |
| 2.0.1 | 1,807 | 2/24/2026 |
| 2.0.0 | 10,937 | 2/11/2026 |
| 2.0.0-preview2 | 150 | 1/26/2026 |
| 2.0.0-preview1 | 160 | 1/16/2026 |
| 1.8.10 | 9,159 | 2/4/2026 |
| 1.8.9 | 9,259 | 1/16/2026 |
| 1.8.8 | 53,411 | 12/10/2025 |
| 1.8.7 | 19,597 | 11/20/2025 |
| 1.8.6 | 74,120 | 11/12/2025 |
| 1.8.5 | 32,277 | 10/14/2025 |