Description
react-input is a monorepo of React packages for masked and formatted input fields, published under the @react-input scope. The mask package applies any input mask you define, either through a component you render in place of an input or through a hook that binds the mask to an existing input element. The number-format package applies locale-specific number, currency and percentage formatting in the same two ways, so a field can display values the way a given language or region expects. The core package is a shared service that the other packages use. The project is developed on GitHub under the GoncharukOrg organisation, and the maintainer invites bug reports and feature suggestions through GitHub issues or by email. Support for the project is offered through a star on GitHub and donations on Open Collective. The readme on the repository is the main source of documentation, and the packages are installed from npm.…
Highlights
- Masked input through a component or a hook
- Locale-aware number, currency and percentage formatting
- Shared core package for the @react-input scope
- Bugs and suggestions accepted on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate @react-input/mask.
People also visit
@react-input/mask FAQ
What is react-input?
It is a set of React packages for masked input and formatted number fields, such as phone numbers, codes and currency amounts.
What are the packages?
The mask package for applying masks, the number-format package for locale-specific number, currency and percentage formatting, and a core package that the others use.
How do I use a mask?
Use the mask component, or a hook that binds the mask to an input element you already have.
Is it free?
The repository is public on GitHub, and the maintainer accepts donations through Open Collective.
Where can I report a problem?
Open an issue on GitHub, or email the maintainer.
What are the best @react-input/mask alternatives?
Popular alternatives to @react-input/mask include react-number-format, react-input-mask and @mona-health/react-input-mask. See all @react-input/mask alternatives

















