WaxComponents 0.9.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package WaxComponents --version 0.9.1
NuGet\Install-Package WaxComponents -Version 0.9.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="WaxComponents" Version="0.9.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WaxComponents" Version="0.9.1" />
<PackageReference Include="WaxComponents" />
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.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WaxComponents, 0.9.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 WaxComponents@0.9.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=WaxComponents&version=0.9.1
#tool nuget:?package=WaxComponents&version=0.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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, Fab, Navigation, Progress, Radio, 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
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 | 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 |