The Blazor Masked TextBox formats input as the user types using a pattern - phone numbers, dates, IP addresses, and more.
Console log
Use the InputSize property to set the Mask size. Available sizes are ExtraSmall, Small, Medium (default), and Large.
Set the Mask property to a pattern (for example (***) ***-**** ) and the masked textbox enforces it as the user types.
Use the placeholder characters (such as * for any character and 9 for digits) together with literal characters that appear as-is in the input.
Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under
MIT
On this page