WaxComponents 0.9.3
dotnet add package WaxComponents --version 0.9.3
NuGet\Install-Package WaxComponents -Version 0.9.3
<PackageReference Include="WaxComponents" Version="0.9.3" />
<PackageVersion Include="WaxComponents" Version="0.9.3" />
<PackageReference Include="WaxComponents" />
paket add WaxComponents --version 0.9.3
#r "nuget: WaxComponents, 0.9.3"
#:package WaxComponents@0.9.3
#addin nuget:?package=WaxComponents&version=0.9.3
#tool nuget:?package=WaxComponents&version=0.9.3
WaxComponents
A UI component library for Blazor, built with Tailwind CSS and light/dark mode support.
- NuGet: https://www.nuget.org/packages/WaxComponents
- Source: https://github.com/lllggghhhaaa/WaxComponents
- License: Apache-2.0
- Target: .NET 11.0
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- LucideBlazor (>= 1.0.6)
- Microsoft.AspNetCore.Components.Web (>= 11.0.0-rc.1.26425.128)
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 | 0 | 10/20/2026 |
| 0.9.1 | 43 | 10/14/2026 |
| 0.9.0 | 101 | 8/31/2026 |
| 0.2.7 | 525 | 2/19/2023 |
| 0.2.6 | 435 | 2/11/2023 |
| 0.2.5 | 465 | 12/28/2022 |
| 0.2.4 | 477 | 12/28/2022 |
| 0.2.3 | 480 | 12/28/2022 |
| 0.2.2 | 493 | 12/17/2022 |
| 0.2.1 | 475 | 12/17/2022 |
| 0.2.0 | 458 | 12/17/2022 |
| 0.1.1 | 478 | 11/28/2022 |
| 0.1.0 | 487 | 11/27/2022 |
| 0.0.9 | 505 | 11/26/2022 |
| 0.0.8 | 497 | 11/26/2022 |
| 0.0.7 | 660 | 1/22/2022 |
| 0.0.6 | 468 | 1/7/2022 |
| 0.0.5 | 486 | 1/5/2022 |
| 0.0.4 | 504 | 1/2/2022 |
| 0.0.3 | 529 | 1/2/2022 |