Package Description
License
—
Deps
2
Install Size
—
Vulns
✓ 0
Published
Dec 17, 2025
$ dotnet add package TnTComponents.ExtensionsTnTComponents is a Blazor WebAssembly project that provides a set of reusable UI components for building modern web applications based on Google's Material 3 spec. The components are designed to be highly customizable and easy to use.
TnTInputFile with advanced features.Install from NuGet (package id: TnTComponents):
dotnet add package TnTComponents
Or add the package reference in your project file.
dotnet restore
dotnet build
In your Program.cs file add the following to register any library services (see LiveTest for examples):
// builder is the WebAssemblyHostBuilder or WebApplicationBuilder
builder.Services.AddTnTComponents();
Then use components in your pages (see LiveTest samples for exact component names and parameters):
@page "/"
<h3>Example</h3>
<TnTButton OnClick="() => Console.WriteLine("Clicked")">Click me</TnTButton>
Themes can be generated using Google's Material 3 designer. Export your theme as a json file and drop it in the wwwroot folder. Inside your App.razor file, add the following code:
<TnTComponents.TnTThemeDesign ThemeFile="your-theme.json" />
Dark, light, and system themes can be applied by setting the Theme property of the TnTThemeDesign component.
Contributions are welcome!
This project is licensed under the MIT License. See the LICENSE file for more details.