UI Library

Prop Type Default Value Notes
ariaLabelstring—
Accessible name for the control.
caretAtEndbooleanfalse
Places the caret after the last character on focus and click instead of at the clicked position.
classNamestring?''
Extra classes for the input.
clearLabelstring?'Clear'
Accessible name for the clear button.
clearPlacement'auto' | 'inside' | 'outside''auto'
Inside sits left of the steppers; outside sits after them; auto renders outside because the steppers own the right edge.
clearablebooleanfalse
Appends a cross button that clears the value.
decrementLabelstring?locale
Accessible name for the down button.
defaultValuestring?''
Baseline the clear button compares against; the cross hides while the value matches it.
disabledbooleanfalse
Disables the input and steppers.
hideOutlinebooleanfalse
Drops the bordered field’s border and focus border while keeping its surface, padding, and text metrics.
idstring?—
Native input id.
incrementLabelstring?locale
Accessible name for the up button.
inputStylestring?—
Inline style for the input; widths the field when steppers are hidden.
maxnumber?—
Upper clamp on typing, blur, and step.
minnumber?—
Lower clamp on blur and step (and on typing when a longer entry could not fit).
placeholderstring?—
Native placeholder.
ratiosNumberInputRatioOverrides?—
Partial override of the field and stepper-column ratios; the line box follows the font.
showControlsbooleantrue
Renders the stepper buttons; hiding them leaves the box and chrome untouched.
size'xs' | 'sm' | 'md' | 'lg' | 'xl' | number'md'
Control scale; numbers are icon-scale pixels scaled by fixed ratios.
stepnumber?1
Arrow/wheel step; decimals preserved.
valuestring—
Bindable field value; the eye resets it to 5.
variant'bordered' | 'embedded''bordered'
Bordered keeps the shared chrome and metrics whether or not the steppers render; embedded drops them so the caller’s class owns the box.
onClear() => voidclears value—Clear handler; falls back to clearing the bound value when omitted.
onblur(event: FocusEvent) => void——Blur callback.
oninput(event: Event) => void——Input callback.
onkeydown(event: KeyboardEvent) => void——Keydown callback.