Numeric money input that emits raw numbers and formats on blur.
CurrencyInput keeps the stored value numeric while giving users a currency-formatted display when they leave the field.
Display currency formatting without storing formatted strings.
<CurrencyInput aria-label="Monthly budget" currency="USD" defaultValue={2499} />import { CurrencyInput } from "@froggdesign/enter-ui-react";<CurrencyInput
value={amount}
onValueChange={setAmount}
currency="USD"
locale="en-US"
/>Use CurrencyInput for plan pricing, invoice amounts, budgets, credit limits, and financial settings where the application stores numeric values.
Provide a visible label or aria-label. invalid maps to aria-invalid and the EnterUI invalid input style.
value, defaultValue: numeric value or null.onValueChange: called with number | null.currency: ISO currency code. Defaults to USD.locale: formatter locale. Defaults to en-US.min, max: clamp emitted numeric values.disabled, invalid: state props.CurrencyInput uses .eui-currency-input classes and FroggDesign tokens for layout, state, focus, and disabled styling.