K
Konrad Szelągowski

Modern Login Page Design

This MudBlazor login form features email and password inputs with validation, toggleable password visibility, remember me checkbox, and social login buttons styled with MudBlazor components and CSS.

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 and data annotations - Password visibility toggle with adornment icon - Remember me checkbox - Social login buttons for Google and Microsoft - Links for forgot password and sign up ## Key components - MudForm, MudTextField, MudCheckBox, MudButton - MudIcon for visual adornments - MudContainer and MudPaper for layout and styling ## How it works - The form binds to a LoginViewModel with Email, Password, and RememberMe properties - Validation is performed on form submission via MudForm.Validate() - Password visibility toggle changes InputType and icon dynamically - Event handlers handle login and social button clicks (placeholders for actual auth logic) ## Styling - Uses MudBlazor default theming and components - Custom CSS applies a gradient background with radial overlays - MudPaper has backdrop blur and semi-transparent white background - Responsive adjustments for smaller screens using media queries ## Reuse steps 1. Add MudBlazor NuGet package to the project 2. Register MudBlazor services in Program.cs 3. Import MudBlazor namespaces in _Imports.razor or component 4. Include CSS styles and adjust as needed 5. Implement authentication logic replacing placeholder methods ## Limitations & next steps - This is a single login page stub generated by Instruct UI - Integrate with real authentication and user management backend - Extend with password reset flow and registration logic - Enhance accessibility and error handling as needed