Hooks & Utilities
v1.0.0Added in 1.0.0
Locale-aware number helpers: cached Intl formatting, parsing what people type, step math and currency affixes.
Type an amount: the field groups thousands as you type in the chosen locale and the caret never jumps. A dot or a comma both work as the decimal point, like on a phone keypad. The rows below show the parsed number, the same value formatted three ways and how the locale writes the currency.
npx wingo-ui@latest add number-formatNo dependencies beyond React.
Separators in en-US: decimal “.”, thousands “,”