We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

syncfusion trusted companies

Overview

The Angular Numeric Textbox component is a quick replacement of the number-type HTML input element. It’s used to get number inputs from users. It has several out-of-the-box features such as number format support, precision control, and spin buttons.


Number formats

Format a numeric textbox with one of the number formats listed on MSDN or Custom numeric format strings. Through number formatting, you can achieve percentage and currency textbox behavior.


Custom formats

The Numeric Textbox supports any custom format. A custom format allows you to place any symbol or text as a prefix or suffix to the input number.


Number precision

You can control the precision of the input number value. And you can limit the precision to any length while the value is being typed.


Spin buttons

Spin buttons provide a flexible option for interacting with the Numeric Textbox. So you can increase or decrease the input value easily.

You can customize the appearance of the spin buttons. And you can hide the buttons from the component if they are not needed.


Angular Numeric Textbox incremental step support

Incremental steps

Increment or decrement a value based on a predefined step value. This can help users input large values.


Form support and validation

The Numeric Textbox has min-max range validation support. This prevents your users from entering out-of-range values.

You can integrate the form validator plugin to perform any custom validation.


Angular Numeric Textbox mobile number keypad support

HTML5 input type support

The Numeric Textbox component can be extended from the HTML5 tel input. This opens the numeric keypad on mobile devices, which makes it easy to enter numeric values.


Globalization

The Angular Numeric Textbox component comes with built-in globalization support. It adapts to any culture through simple settings.


Right-to-left (RTL)

The component supports right-to-left (RTL) direction for users working in right-to-left languages like Hebrew, Arabic, or Persian.


Other supported frameworks

Numeric Textbox is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different Numeric Textbox platforms from the links below,

Web accessibility

  • Fully supports WAI-ARIA accessibility to work with screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interaction.
  • Follows the WCAG 2.0 standard in the design of the UI element visuals such as foreground color, background color, line spacing, text, and images.

Developer-friendly APIs

The Angular Numeric Textbox component has a rich set of developer-friendly APIs. So you can handle all UI elements and behaviors of the control to provide the best experience to your end users.


Angular Numeric Textbox Example

Easily get started with the Angular Numeric Textbox using a few simple lines of HTML and TS code example as demonstrated below. Also explore our Angular Numeric Textbox Example that shows you how to render and configure a Numeric Textbox in Angular.

<div class="control-section">
    <div class="content-wrapper">
        <div> 
            <div class="control-label">Numeric TextBox</div>
            <!-- Render Numeric Textbox -->
            <ejs-numerictextbox value="10"></ejs-numerictextbox>
        </div>
    </div>
</div>
import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  // specifies the template string for the NumericTextBox component
  template: `<ejs-numerictextbox value='10'></ejs-numerictextbox>`
})
export class AppComponent { }


80+ ANGULAR UI COMPONENTS

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile