Components
← All components

Currency Input

stimeo--currency-input

An amount field that groups digits while keeping a clean number to submit.

The stimeo--currency-input controller groups digits (thousands separators) as you type and rounds to a fixed precision on blur, using Intl.NumberFormat for the configured locale. The grouped string stays in the visible field while a clean, separator-free number is kept in a hidden input for submission. Because a hidden input is not exposed to assistive tech, the normalized value is also mirrored to a visually-hidden span referenced by aria-describedby. The library provides behavior only — no styling and no validation.

running
USD