Number Field

A numeric input element with increment and decrement buttons, and a scrub area.

Usage

API Reference

NumberField

Root component.

NumberFieldGroup

Container for the input and buttons.

NumberFieldInput

Input element for the number value.

NumberFieldIncrement

Button to increment the value. Includes plus icon.

NumberFieldDecrement

Button to decrement the value. Includes minus icon.

NumberFieldScrubArea

Draggable area for scrubbing the value.

Examples

For accessible labelling and validation, prefer using the Field component to wrap number fields. See the related example: Number field.

Small Size

Large Size

Disabled

With External Label

With Scrub

With Range

With Formatted Value

With Step

Form Integration