K
Kiran Yellumahanti

Modern Small Font UI MudBlazor

This MudBlazor login form implements a user sign-in interface with validation, password visibility toggle, and demo login features. It uses MudBlazor components and Bootstrap utility classes for layout and styling.

LIVE DEMO
Generated using Instruct UI - An AI for Blazor UI Generation
## What's implemented - Login form with email and password inputs - Validation using MudForm with data annotations - Password show/hide toggle with adornment icon - Remember me checkbox - Sign-in and demo account buttons - Forgot password link triggering a message - Responsive layout with info panel hidden on small screens - User info card display on larger screens ## Key components - MudForm, MudTextField, MudCheckBox, MudButton - MudAvatar, MudCard, MudCardHeader, MudCardContent - MudIconButton - Data binding via @bind-Value - MudSnackbar for notifications ## How it works The form binds to a LoginModel instance with validation attributes. MudForm validates inputs on submit, restricting navigation unless valid. The password field toggles between text and password types via adornment icon click. Snackbar displays status messages. Demo button populates model with preset credentials. Forgot link triggers an info notification. The layout uses Bootstrap flex and spacing classes to arrange and hide elements responsively. ## Styling Bootstrap utility classes structure the two-pane card layout and control responsiveness. Custom CSS applies a small font size, full viewport height centering, and a light background color. MudBlazor theme styles inputs and buttons consistently. ## Reuse steps 1. Add MudBlazor NuGet package to the project. 2. Register MudBlazor services and include MudThemeProvider. 3. Import MudBlazor namespaces in the component. 4. Add the LoginModel class with data annotations. 5. Include referenced CSS or adapt styles. 6. Implement authentication and navigation logic as needed. ## Limitations & next steps This is a standalone login page scaffold generated by Instruct UI. It requires backend integration for real authentication and secure password management. Extend validation rules and loading states as needed. Enhance accessibility and error display for production use.