Number inputs capture numeric values with increment, decrement, and validation support.
Standard input for numeric data entry
Contains: Default, Success, Error, Warning
Leading icon and optional trailing action icon
Trailing action with icon button.
Inputs can enforce ranges and step intervals natively
Inputs can be marked optional or disabled
Optional
Use hint for tooltips and helper text for guidance
Import the number input component in your module or component:
import-number-input.ts
Copy code
Here is a basic example of using the number input component:
number-input-example.html
Here is an example of using the number input component with all available APIs:
Handle numeric changes and blur commits:
number-input-events.html
number-input-events.ts
Customize the input features in this section
example.html
On this page