WaxComponents 0.9.3

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

WaxComponents

A UI component library for Blazor, built with Tailwind CSS and light/dark mode support.

Components: Accordion, Avatar, Badge, Button, Card, Checkbox, Chip, Channel Button, Fab, Icon Button, Navigation (Sidebar, Server Button), Progress, Radio, Reaction Chip, Slider, Switch, Tabs, Text Field.

Install

dotnet add package WaxComponents

Setup

Register the services in Program.cs:

builder.Services.AddWaxComponents();

Add the stylesheet and theme support to App.razor:

<link rel="stylesheet" href="_content/WaxComponents/app.css" />
<FontMap />
<ThemePreloader />

Usage

<WaxButton Variant="WaxButtonVariant.Filled" OnClick="OnClick">
    <ChildContent>Click me</ChildContent>
</WaxButton>

<WaxBadge Color="WaxColor.Primary">New</WaxBadge>

<WaxSwitch Label="Dark mode" />
private void OnClick() { }

Theming

Inject IThemeService to change the theme at runtime:

@inject IThemeService Theme

<button @onclick="() => Theme.ToggleDarkLightAsync()">Toggle theme</button>

Modes: ThemeMode.System, ThemeMode.Light, ThemeMode.Dark.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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.9.3 38 10/20/2026
0.9.1 54 10/14/2026
0.9.0 101 8/31/2026
0.2.7 526 2/19/2023
0.2.6 436 2/11/2023
0.2.5 466 12/28/2022
0.2.4 478 12/28/2022
0.2.3 481 12/28/2022
0.2.2 495 12/17/2022
0.2.1 476 12/17/2022
0.2.0 459 12/17/2022
0.1.1 479 11/28/2022
0.1.0 488 11/27/2022
0.0.9 506 11/26/2022
0.0.8 498 11/26/2022
0.0.7 661 1/22/2022
0.0.6 469 1/7/2022
0.0.5 487 1/5/2022
0.0.4 505 1/2/2022
0.0.3 530 1/2/2022