Skip to content

Number Input

The number input component allows users to input numerical values. This component ensures users can provide numeric data in a controlled format with validation and support for incrementing or decrementing values.

Example of the number input component

Like other inputs, the number input is available in two sizes: ‘default’ (48px) and ‘compact’ (40px).

Example of the height variants of the number input component

Some optional data types can be chosen for display such as percentage or currency.

Example of percentage and currency data types

Because currency will be a common use case for a number input, values can either be left or right aligned in the input.

Example of the alignment variants of the number input component

Component States include: Default, Hover, Selected, Disable, and Focus.

Example of the states of the number input component

Statuses include: Default, Error, Success, and Read Only.

Example of the statuses available with the number input component