PSC.Blazor.Components.Common 6.0.4

.NET 6.0
dotnet add package PSC.Blazor.Components.Common --version 6.0.4
NuGet\Install-Package PSC.Blazor.Components.Common -Version 6.0.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="PSC.Blazor.Components.Common" Version="6.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PSC.Blazor.Components.Common --version 6.0.4
#r "nuget: PSC.Blazor.Components.Common, 6.0.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install PSC.Blazor.Components.Common as a Cake Addin
#addin nuget:?package=PSC.Blazor.Components.Common&version=6.0.4

// Install PSC.Blazor.Components.Common as a Cake Tool
#tool nuget:?package=PSC.Blazor.Components.Common&version=6.0.4

Common functions for Blazor components

This library contains some useful classes for other Blazor components


Generates a CSS class based on the requirements

protected string GetModalCss() => new ClassBuilder()
        .AddIf("modal-sm", ModalModel.Options.Size == ModalSize.Small)


  • Add
  • AddIf
  • AddCompare (+2)
  • Remove
  • RemoveAll
  • ToString


This function helps to add Razor component in other Razor components.

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on PSC.Blazor.Components.Common:

Package Downloads

Another Markdown editor for Blazor


SVG Icon for Blazor


Modal popup windows for Blazor


Toast notification for Blazor

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.4 7,795 12/1/2021
6.0.3 629 12/1/2021
6.0.2 638 12/1/2021