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
MgInputA 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). |