Default Light
MgLibrary
Overview
Installation
Buttons
Cards
Charts
Codes
Data Grids
Dropdowns
Editors
Headers & Animations
Icons
Indicators
Inputs
Lists
Modals
Menus
Panels
Pills & Chips
Scheduling
Tabs
Time Line
Trees
Customization

Inputs

Standard text input examples.

Use this example to explore default behavior, customization points, and accessibility-friendly patterns in a real Blazor page.

Standard Input

MgInput

A versatile text input component that supports icons, placeholders, and submission events.

API Reference

MgInput

Property Type Default Description
Placeholder string "" Placeholder text displayed when empty.
IconName string null Optional icon shown inside the input.
TextSubmitted EventCallback<string> - Event fired when the user submits text (e.g., enter key).
An unhandled error has occurred. Reload 🗙