Open source alternatives to react-text-mask
200 open source apps like react-text-mask, closest match first.
Top picks
- M

maskito
LaunchMaskito is a collection of TypeScript libraries for input masks, which make sure a user types values in a predefined format. It supports the usual ways people change text fields, including typing and deleting, pasting, dropping text with th
- V

vue-input-facade
Launchvue-input-facade is a lightweight input masking library for Vue. It has no dependencies and started as a fork of vue-text-mask, which the README says has been extended with many improvements since. You can use it globally, which installs th
Open source
- R
- R

react-text-truncate
LaunchReact-Text-Truncate is a React component that shortens text to a set number of lines and adds an ellipsis when the text is too long. It is meant for multi-line truncation, so a paragraph or a card description can be cut to fit a fixed space
Open source
- R

react-payment-inputs
LaunchReact Payment Inputs is a React hook and container that helps you build the card number, expiry date, security code and ZIP fields of a payment form. The hook, usePaymentInputs, returns prop getter functions for each field, and you spread t
- R

react-input-autosize
LaunchReact-input-autosize is a text input component for React that resizes itself to fit its current content. It wraps the input so it can measure the size of its value, and otherwise behaves much like a standard React input. You can install it
Open source
More like react-text-mask
About react-text-mask

react-text-mask
React input component that accepts mask pattern
Text Mask is an input mask library that formats what a user types into a field, for patterns such as phone numbers, dates, currency, zip codes, percentages and email addresses. It has wrappers for React, Angular 2, Ember and Vue, and a vanilla JavaScript version. The README says the library is not maintained, so pull requests and issues are no longer monitored, and it lists alternatives that the maintainers have not verified: imaskjs, ngx-mask, Maskito and react-text-mask-modern. Text Mask was built to be flexible, with a minimal API for creating any type of mask, and extendable with addons for more mask types. It supports pasting and browser auto-fill, works on mobile, and has no third-party dependencies. The project's README says it is under 4KB gzipped. The project lists Internet Explorer 9 and later, as well as modern mobile and desktop browsers, among the environments it was expected to work in. A live demo page shows the masks in action, and the documentation covers installation for each framework. Because the library is no longer maintained, new projects should look at the listed alternatives before adopting it.
- Price
- Free
- Made by
- msafi
- Category
- UI Libraries
- Website
- github.com/text-mask/text-mask
































