Extensions.MudBlazor.StaticInput
2.1.2
See the version list below for details.
dotnet add package Extensions.MudBlazor.StaticInput --version 2.1.2
NuGet\Install-Package Extensions.MudBlazor.StaticInput -Version 2.1.2
<PackageReference Include="Extensions.MudBlazor.StaticInput" Version="2.1.2" />
paket add Extensions.MudBlazor.StaticInput --version 2.1.2
#r "nuget: Extensions.MudBlazor.StaticInput, 2.1.2"
// Install Extensions.MudBlazor.StaticInput as a Cake Addin #addin nuget:?package=Extensions.MudBlazor.StaticInput&version=2.1.2 // Install Extensions.MudBlazor.StaticInput as a Cake Tool #tool nuget:?package=Extensions.MudBlazor.StaticInput&version=2.1.2
<p align="center"> <img alt="MudBlazor.StaticInput" src="content/logo.png" style="width: 8%"/> <h1 align="center">MudBlazor.StaticInput</h1> </p>
📖 Introduction 📖
MudBlazor.StaticInput is an extension package for the MudBlazor library.
Tailored specifically for Static Server-Side Rendered (static SSR) pages. It offers seamless integration of MudBlazor's Component design into your applications. Focusing particularly on components designed for forms and edit forms, in situations where interactive components are not feasible.
[example: Blazor Identity UI].
<a href="https://github.com/0phois/MudBlazor.StaticInput/tree/master/demo/StaticSample"> <img alt="Static Input Demo" src="content/StaticInput.png" /> </a>
🤔 Why MudBlazor.StaticInput? 🤔
- Rapid SSSR Integration: Effortlessly add MudBlazor components to your static SSR pages, saving development time.
- Focus on Forms: Streamline development of forms and edit forms, for use cases such as Microsoft Identity Login forms.
- Preserved Look & Feel: Maintains the consistent design and user experience of MudBlazor. Ensuring uniformity across all pages.
- Maintains Flexibility: By inheriting core MudBlazor components, StaticInput maintains the same flexibility as the original components.
🎁 What's Included 🎁
The set of components and features may extend over time. Currently, Static Input Components includes:
MudStaticButton
<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.
MudStaticCheckBox
<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>
MudStaticSwitch
<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>
MudStaticTextField
<details> <summary> Text field components are used for receiving user provided information </summary>
<MudTextField @bind-Value="Password" Label="Password" Variant="Variant.Outlined" InputType="InputType.Password"
Adornment="Adornment.End" AdornmentIcon="@PasswordInputIcon"/>
@code {
public string Password { get; set; }
}
</details>
🚀 Getting Started 🚀
To start using MudBlazor.StaticInput in your projects, simply install the package via NuGet Package Manager:
dotnet add package Extensions.MudBlazor.StaticInput
Then add the following to the body
of your App.razor
file
<script src="_content/Extensions.MudBlazor.StaticInput/NavigationObserver.js"></script>
Note: MudBlazor should already be setup for your application
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Microsoft.AspNetCore.Components (>= 8.0.8)
- Microsoft.AspNetCore.Components.Web (>= 8.0.8)
- MudBlazor (>= 7.6.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Extensions.MudBlazor.StaticInput:
Package | Downloads |
---|---|
Chieratto.SDK.Frontend
Package Description |
|
KurzSharp
Package Description |
|
Vorn.Aaas.Server.Interface
This package contains user interface components of Vorn Aaas Server. |
|
Vorn.Divan.Browser
Vorn Divan Browser is a document browser suitable for making a static website based on a document repository. |
GitHub repositories
This package is not used by any popular GitHub repositories.