Radzen Blazor Components

Numeric

Demonstration and configuration of the Radzen Blazor Numeric component.

These demos showcase a numeric input with two-way data binding, min/max value constraints, configurable step increments and placeholders, optional up/down buttons, formatted value display with culture-specific formats, text alignment options, custom value conversion, and support for custom numeric types with TypeConverter or IFormattable implementations.

Get and Set the value of Numeric link

As all Radzen Blazor input components the Numeric has a Value property which gets and sets the value of the component. Use @bind-Value to get the user input.

Get and Set the value of Numeric using Value and Change event link

Value property can be used to set the value of the component and Change event to get the user input.

Min set to 1 and Max set to 10 link

Use the Min and Max properties to constrain numeric input within a specific range.

Placeholder and 0.5 step link

Use the Placeholder property to display hint text and Step to define increment/decrement intervals.

Without Up/Down link

Use ShowUpDown="false" to hide the increment/decrement buttons and display only the text input.

Formatted value link

Use the Format property to apply culture-specific number formatting to the displayed value.

Align value link

Use the InputAttributes property to customize text alignment and other HTML input attributes.

Custom Value convert link

Use the ConvertValue property to implement custom value conversion logic for specialized numeric types.

Custom Numeric Type Support link

Types that can be converted from a string, via a TypeConverter or assigning ConvertValue, get basic support from Numeric. If the type implements a TypeConverter that can convert to/from decimal, then Step and Min/Max are supported. If the type implements IFormattable, Format strings will be passed to it.

A Temperature type that implements IFormattable. Value in Celsius: 50.50 °C
A Dollars type that provides a TypeConverter, therefore Min, Max, and Step are supported.

Keyboard Navigation link

The following keys or key combinations provide a way for users to navigate and interact with Radzen Blazor Numeric component.

Press this key To do this
Tab Navigate to a Numeric component.
UpArrow in a focused Numeric Increase the Numeric value with the Step configured.
DownArrow in a focused Numeric Decrease the Numeric value with the Step configured.
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-2025 Radzen.
Source Code licensed under MIT

Demos Configuration

Premium Themes

  • Material 3
  • Material 3 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 🗙