npm / react-number-format
react-number-format
What changed in react-number-format 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
4 breaking1 new APIs and options2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initreact-number-format 57 changes
Breaking changes 4
The customNumerals prop is removed; custom numerals can instead be implemented through outside customization.
The isNumericString prop is renamed to valueIsNumericString.
React number format is split into smaller modules, including NumericFormat, so developers can expose only what they need.
React number format is split into smaller modules, including Pattern Format, so developers can expose only what they need.
New APIs and options 1
A lower-level hook is provided to allow full customisation.
Fixes and other changes 2
Fixed defaultValue not triggering onValueChange.
Fixed deleting the negative symbol when the prefix is more than one character.