Gurux.UI.Components
4.0.2609.2201
dotnet add package Gurux.UI.Components --version 4.0.2609.2201
NuGet\Install-Package Gurux.UI.Components -Version 4.0.2609.2201
<PackageReference Include="Gurux.UI.Components" Version="4.0.2609.2201" />
<PackageVersion Include="Gurux.UI.Components" Version="4.0.2609.2201" />
<PackageReference Include="Gurux.UI.Components" />
paket add Gurux.UI.Components --version 4.0.2609.2201
#r "nuget: Gurux.UI.Components, 4.0.2609.2201"
#:package Gurux.UI.Components@4.0.2609.2201
#addin nuget:?package=Gurux.UI.Components&version=4.0.2609.2201
#tool nuget:?package=Gurux.UI.Components&version=4.0.2609.2201
Gurux.UI.Components
Reusable Razor UI components for Gurux web, Windows, iOS, and Android applications. The library provides common form controls, layouts, navigation, tables, dialogs, notifications, file handling, and Markdown rendering for .NET applications built with Blazor.
Requirements
- .NET 10.0 or later
- A Blazor application (WebAssembly, Server, or Web App)
Install
Add the package to your application when it is available from your configured NuGet feed:
dotnet add package Gurux.UI.Components
Alternatively, reference the project directly from a solution:
<ProjectReference Include="..\\Gurux.UI.Components\\Gurux.UI.Components.csproj" />
Register the local-storage service in Program.cs:
using Gurux.UI.Components;
builder.Services.AddScoped<IGXLocalStorage, GXLocalStorage>();
Add the component namespace to _Imports.razor:
@using Gurux.UI.Components
Included components
- Inputs: text, number, email, password, phone, IP address, file, checkbox, switch, search, dropdown, date/time, and color controls.
- Layout and navigation: accordion, tabs, panels, menus, context menus, tooltips, callouts, badges, and spinners.
- Data and feedback: tables, progress bars, dialogs, validation UI, notifications, and Markdown rendering.
- Browser integration: local and cookie storage, resource storage, auto-refresh, image handling, and file selection.
Examples
Bind a text value
GXInputText is a styled text input with normal Blazor two-way binding.
@page "/profile"
<h1>Profile</h1>
<GXInputText @bind-Value="name"
Placeholder="Your name"
CssClass="form-control" />
<p>Hello, @name!</p>
@code {
private string? name;
}
Limit a numeric value
GXInputNumber<TValue> integrates with Blazor forms and supports minimum, maximum, and step values.
@page "/settings"
<EditForm Model="this">
<GXInputNumber TValue="int"
@bind-Value="refreshInterval"
Min="1"
Max="60"
Step="1" />
</EditForm>
<p>Refresh interval: @refreshInterval seconds</p>
@code {
private int refreshInterval = 10;
}
Render Markdown content
Use MarkdownView to display Markdown stored in your application or received from an API.
@page "/help"
<MarkdownView Content="@markdown" />
@code {
private const string markdown = """
## Welcome
This page supports **bold text**, links, lists, and fenced code blocks.
""";
}
License
This project is licensed under the GNU General Public License v2.0 only.
Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- Microsoft.AspNetCore.Components.Web (>= 10.0.12)
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 |
|---|---|---|
| 4.0.2609.2201 | 58 | 9/22/2026 |