Components
← All components

Currency Input

stimeo--currency-input

An amount field that groups digits as you type while submitting a clean number.

  • Core

Groups digits as you type and settles the decimal places when you leave the field. What you typed survives: a leading minus, a decimal mark you are still typing past, and the fraction digits are never eaten mid-keystroke, and the caret stays where you put it. Full-width digits confirmed by a Japanese input method are converted rather than dropped, and text still being composed is left alone. The field shows the grouped amount while the value submitted is the plain number, which is also what screen readers are told. A currency or precision setting it cannot read falls back to a default rather than breaking the field. It brings no styling and no validation.

running
USD

Keyboard

This component has no keyboard interactions of its own.