This library provides a set of tools for formatting numeric values and masking user input within React components. It includes a customizable text input wrapper that synchronizes raw numeric values with formatted display strings and a specialized input masking component for enforcing string patterns and templates during data entry.
The project features a localized number formatter that utilizes browser localization APIs to apply regional grouping, prefixes, and suffixes. It supports specialized financial formatting, such as displaying negative values in parentheses, and provides the ability to render formatted numeric values as static text rather than editable inputs.
The toolset covers input pattern constraints, custom value validation to block invalid characters, and the ability to integrate formatting logic with third-party components. It also manages value capture by distinguishing between user-initiated interactions and programmatic state updates.