![]() |
VOOZH | about |
dotnet add package Extensions.MudBlazor.StaticInput --version 4.1.0
NuGet\Install-Package Extensions.MudBlazor.StaticInput -Version 4.1.0
<PackageReference Include="Extensions.MudBlazor.StaticInput" Version="4.1.0" />
<PackageVersion Include="Extensions.MudBlazor.StaticInput" Version="4.1.0" />Directory.Packages.props
<PackageReference Include="Extensions.MudBlazor.StaticInput" />Project file
paket add Extensions.MudBlazor.StaticInput --version 4.1.0
#r "nuget: Extensions.MudBlazor.StaticInput, 4.1.0"
#:package Extensions.MudBlazor.StaticInput@4.1.0
#addin nuget:?package=Extensions.MudBlazor.StaticInput&version=4.1.0Install as a Cake Addin
#tool nuget:?package=Extensions.MudBlazor.StaticInput&version=4.1.0Install as a Cake Tool
<p align="center"> <img alt="MudBlazor.StaticInput" src="content/logo.png" style="width: 8%"/> <h1 align="center">MudBlazor.StaticInput</h1> </p>
👁 GitHub License
👁 GitHub Actions Workflow Status
👁 NuGet Version
👁 NuGet Downloads
MudBlazor.StaticInput is an extension package for the MudBlazor library.
Tailored specifically for Static Server-Side Rendered (static SSR) pages. It offers seamless integration for some of MudBlazor's Component design into your static application pages. Focusing particularly on components designed for forms and edit forms, in situations where interactive components are not feasible. For example, when scaffolding Blazor Identity UI in your application.
<a href="https://github.com/0phois/MudBlazor.StaticInput/tree/master/demo/StaticSample"> <img alt="Static Input Demo" src="content/StaticInput.png" /> </a>
Default email: demo@static.com
Default pword: MudStatic123!
The set of components and features may extend over time. Currently, StaticInput components include:
<details> <summary> A Material Design button that supports form actions such as 'submit' and 'reset' </summary>
<MudStaticButton Variant="Variant.Filled" Color="Color.Primary">Login</MudStaticButton>
</details>
Note:
<MudButton>is 100% functional in forms when used correctly. The static component simply assists in assuring the correct usage.
<details> <summary> Checkboxes are a great way to allow the user to make a selection of choices. </summary>
<MudStaticCheckBox @bind-Value="@RememberMe" Color="Color.Success">Remember Me</MudStaticCheckBox>
@code{
public bool RememberMe { get; set; }
}
</details>
<details> <summary> Similar to a checkbox but visually different. The switch lets the user <i>switch</i> between two values with the tap of a button. </summary>
<MudStaticSwitch @bind-Value="@RememberMe" Color="Color.Success" UnCheckedColor="Color.Primary">Remember Me</MudStaticSwitch>
@code{
public bool RememberMe { get; set; }
}
</details>
<details> <summary> Text field components are used for receiving user provided information </summary>
<MudStaticTextField @bind-Value="@Password"
InputType="InputType.Password"
Adornment="Adornment.End"
AdornmentIcon="@Icons.Material.Outlined.Visibility"
AdornmentToggledIcon="@Icons.Material.Outlined.VisibilityOff"
AdornmentClickFunction="showPassword" />
@code {
public string Password { get; set; }
}
<script>
const passwordTimeouts = new WeakMap();
function showPassword(inputElement) {
if (!inputElement) return;
const existingTimeout = passwordTimeouts.get(inputElement);
if (existingTimeout) clearTimeout(existingTimeout);
if (inputElement.type === 'password') {
inputElement.type = 'text';
const timeoutId = setTimeout(function () {
inputElement.type = 'password';
passwordTimeouts.delete(inputElement);
}, 5000);
passwordTimeouts.set(inputElement, timeoutId);
} else {
inputElement.type = 'password';
passwordTimeouts.delete(inputElement);
}
}
</script>
</details>
<details> <summary> Radio buttons allow the user to select one option from a set. </summary>
<MudStaticRadioGroup @bind-Value="@SelectedOption" Color="Color.Primary">
<MudStaticRadio Value="@("Option 1")" Color="Color.Secondary">Option 1</MudStaticRadio>
<MudStaticRadio Value="@("Option 2")">Option 2</MudStaticRadio>
</MudStaticRadioGroup>
@code {
public string SelectedOption { get; set; } = "Option 1";
}
</details>
<details> <summary> Open/Close a MudDrawer using a MudIconButton. When added, Responsive drawers also open/close based on page size changes. </summary>
<MudStaticNavDrawerToggle id="static-left-toggle" DrawerId="static-mini" Icon="@Icons.Material.Filled.Menu" Color="Color.Inherit" Edge="Edge.Start" />
<MudDrawer id="static-mini" Fixed="false" Elevation="1" Anchor="Anchor.Start" Variant="@DrawerVariant.Mini" ClipMode="DrawerClipMode.Always">
<MudNavMenu>
<MudNavLink Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.Store">Store</MudNavLink>
<MudNavLink Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.LibraryBooks">Library</MudNavLink>
<MudNavLink Match="NavLinkMatch.All" Icon="@Icons.Material.Filled.Group">Community</MudNavLink>
</MudNavMenu>
</MudDrawer>
</details>
<details> <summary> Collapse/Expand a MudStaticNavGroup by clicking on its title. Can be nested in a standard MudNavMenu </summary>
<MudNavMenu>
<MudNavLink Href="/dashboard">Dashboard</MudNavLink>
<MudNavLink Href="/servers">Servers</MudNavLink>
<MudNavLink Href="/billing" Disabled="true">Billing</MudNavLink>
<MudStaticNavGroup Title="Settings" Expanded="true">
<MudNavLink Href="/users">Users</MudNavLink>
<MudNavLink Href="/security">Security</MudNavLink>
</MudStaticNavGroup>
<MudNavLink Href="/about">About</MudNavLink>
</MudNavMenu>
</details>
To start using MudBlazor.StaticInput in your projects, simply install the package via NuGet Package Manager:
dotnet add package Extensions.MudBlazor.StaticInput
MudBlazor should already be setup for your application.
Ensure MudBlazor services are registered in your Program.cs:
builder.Services.AddMudServices();
The library utilizes a Blazor JS initializer to automatically load the necessary client-side logic. No manual script tags are required for the core functionality in Blazor Web Apps.
You can now start using the components in your Static SSR pages. For example, in an Identity login page:
<MudStaticTextField @bind-Value="@Input.Email" Label="Email" For="() => Input.Email" />
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on Extensions.MudBlazor.StaticInput:
| Package | Downloads |
|---|---|
|
Chieratto.SDK.Frontend
Package Description |
|
|
AppLaunch.Plugins.ProjectBilling
Package Description |
|
|
Avolutions.Baf.Blazor
Blazor component library for the Avolutions Business Application Framework (BAF). |
|
|
AppLaunch.Themes
AppLaunch Themes contains the Core theme for use in AppLaunch projects. |
|
|
KurzSharp
Package Description |
Showing the top 4 popular GitHub repositories that depend on Extensions.MudBlazor.StaticInput:
| Repository | Stars |
|---|---|
|
kurrent-io/KurrentDB
KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.
|
|
|
bitbound/ControlR
Open-source, self-hostable remote control and remote access.
|
|
|
akpaevj/oneswiss
Система обслуживания и мониторинга информационных баз 1С
|
|
|
gudarzi/SaveHere
Cloud Download Manager for direct links and media files from Youtube/Spotify/etc with media converter and builtin proxy to bypass restrictions
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.1.0 | 35,013 | 3/11/2026 |
| 4.0.0 | 8,368 | 2/20/2026 |
| 4.0.0-beta.3 | 131 | 2/12/2026 |
| 4.0.0-beta.2 | 1,366 | 1/29/2026 |
| 4.0.0-beta.1 | 218 | 1/17/2026 |
| 3.2.1 | 134,902 | 7/16/2025 |
| 3.2.0 | 71,955 | 2/20/2025 |
| 3.1.0 | 1,617 | 2/16/2025 |
| 3.0.1 | 7,929 | 1/23/2025 |
| 3.0.0 | 1,878 | 1/18/2025 |
| 3.0.0-beta.2 | 503 | 12/28/2024 |
| 3.0.0-beta.1 | 197 | 12/20/2024 |
| 2.1.5 | 38,167 | 10/21/2024 |
| 2.1.3 | 310 | 10/21/2024 |
| 2.1.2 | 11,713 | 8/19/2024 |
| 2.1.1 | 9,465 | 7/23/2024 |
| 2.1.0 | 749 | 7/20/2024 |
| 2.0.0 | 1,340 | 6/29/2024 |
| 2.0.0-rc.2 | 173 | 6/22/2024 |
| 1.0.1 | 3,816 | 4/3/2024 |