BlazorComponentUtilities 1.6.0

A clean code approach to conditional CSS Classes in Blazor Components (Razor Components). When building complex components for ASP.NET Blazor there are often CSS classes generated by multiple factors. Styles can often be added by system & component state, public parameters, and static base CSS classes. Combining many CSS classes together doesn't scale well, and when components get large it can be tough to reason about. The CSS builder pattern fixes this problem by offering a easy to repeat, easy to read pattern to use across components in a project.

Showing the top 20 packages that depend on BlazorComponentUtilities.

Packages Downloads
BlazorPro.Spinkit
A collection of loading indicators animated with CSS for Blazor. Spinkit also includes the SpinLoader component with templates for handling null values during async operations. Spinkit includes CSS from the Spinkit project by Tobias Ahlin https://tobiasahlin.com/spinkit/
1

1.6.0 Added Func<string> value overload for ValueBuilder 1.5.0 Added Func<string> value overload for StyleBuilder Minor performance improvements for .Add*Attributes 1.4.0 Added ValueBuilder for complex styles Updated /// docs 1.3.0 Added utlitiy mehtod for Attribute Splatting. Added utility method for returning null for empty strings. This is useful for splatting scenarios. Added utility method for starting off new builders.

.NET Standard 2.0

Version Downloads Last updated
1.6.0 1 5/26/2026