Components
Components
NumberField
Localized number input with accessible increment and decrement steppers.
newfree
Install
@hewnui/ui · hewnui
Built on React Aria NumberField. Values use tabular numerals and format through
Intl.NumberFormat options.
Billed per active workspace seat.
Usage
Variants
outline (default), filled, flushed, and glass.
States
- Description helper text
- Invalid +
errorMessage - Disabled / read-only
- Min and max bounds
Accessibility
- Stepper buttons labeled for increment and decrement
- Arrow keys adjust the value
- Hit targets are at least 40×40px
API reference
Props for NumberField from @hewnui/ui/number-field. Generated from component types — not hand-written.
Prop
Type