WebAwesome.AspNetCore.Components 0.0.1

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

Web Awesome Blazor library

The WebAwesome.AspNetCore.* family of packages provides a set of wrappers for the Web Components by Web Awesome for building Blazor applications.

The code is heavily inspired by Fluent UI Blazor. Docs and docs generation is from Blue Blazor.

Getting Started

Create project

It's recommended to use the official template Blazor Web App to create a new project using Visual Studio or CLI. Make sure, no sample content will be added.

Installation

dotnet add package WebAwesome.AspNetCore.Components

Nuget

Import

Add the following to your _Imports.razor file:

@using WebAwesome.AspNetCore.Components

Register services

Not yet required, but might be changed in the future.

Stylesheet

Web Awesome Blazor comes with its own theme "blue", which is based on the styles of Blue Web. You can embed it like this:

<link
  rel="stylesheet"
  href="_content/WebAwesome.AspNetCore.Components/themes/blue.css"
/>

In .NET 9 or later you can do it like this:

<link rel="stylesheet" href="@Assets["_content/WebAwesome.AspNetCore.Components/themes/blue.css"]">

The library also contains the whole "dist-cdn" directory from the NPM package under "wwwroot/webawesome". So you can embed a theme like this:

<link
  rel="stylesheet"
  href="_content/WebAwesome.AspNetCore.Components/webawesome/styles/themes/default.css"
/>

In .NET 9 or later you can do it like this:

<link rel="stylesheet" href="@Assets["_content/WebAwesome.AspNetCore.Components/webawesome/styles/themes/default.css"]">

Color mode based on system preferences

I implemented a solution, which automatically sets or unsets .wa-dark to the document element (<html>) based media query (prefers-color-scheme: dark). To enable it, just set class .wa-system to the <html> element.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.1 313 8/12/2025