Radzen Blazor Components

Blazor Mask

The Blazor Masked TextBox formats input as the user types using a pattern - phone numbers, dates, IP addresses, and more.

Telephone

Credit Card

SSN

Console log

Mask Sizes link

Use the InputSize property to set the Mask size. Available sizes are ExtraSmall, Small, Medium (default), and Large.

Frequently asked questions

How do I mask a phone number or date in Blazor?

Set the Mask property to a pattern (for example (***) ***-**** ) and the masked textbox enforces it as the user types.

Which characters can I use in a mask pattern?

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 Newsletter

Get an email when new components and releases ship.

All the tools in one place

Save Hours on Every Project

With Radzen Blazor subscription you get the full toolkit, including:

support

Dedicated support backed by proven expertise

palette

Premium themes and theme editor

widgets

Ready-to-use UI blocks

dashboard_customize

Complete app templates

format_shapes

Visual design-time-experience

Radzen Blazor Studio

Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under MIT

On this page

Demos Configuration

Premium Themes

  • Material 3
  • Material 3 Dark
  • Material 3 Expressive
  • Material 3 Expressive Dark
  • Fluent
  • Fluent Dark

Free Themes

  • Material
  • Material Dark
  • Standard
  • Standard Dark
  • Default
  • Dark
  • Humanistic
  • Humanistic Dark
  • Software
  • Software Dark
An error has occurred. This app may no longer respond until reloaded. Reload 🗙