text-mask/text-mask


Input mask for React, Angular, Ember, Vue, & plain JavaScript

https://text-mask.github.io/text-mask/

License: Unlicense

Language: JavaScript

Keywords: angular, ember, input-mask, inputmask, react, text-formatting, vue


Text Mask

Build Status

Text Mask is an input mask library. It can create input masks for phone, date, currency, zip code, percentage, email, and literally anything!

There are convenient wrappers for React, Angular 2, Ember, and Vue.

Live demo

See it in action, check out the demo page.

Installation and usage

Expected to work with...

IE9+, Android, Samsung Internet, Windows Phone, iOS, Opera, Firefox, Safari, and Chrome

Flexible

Text Mask is very configurable and allows you to create any type of input mask with minimal APIs. See the documentation for details.

Extendable

You can easily expand the base functionality of Text Mask with addons for more mask types. Checkout existing addons.

Robust

Text Mask supports pasting, browser auto-fill, and all operations that a user would expect while interacting with an input field.

It works on mobile, has no 3rd party dependencies, and has a tiny footprint (less than 4KB gzipped).

For any questions, suggestions, or feature requests

Please file an issue!

Project Statistics

Sourcerank 16
Repository Size 4.96 MB
Stars 7,453
Forks 700
Watchers 105
Open issues 267
Dependencies 146
Contributors 59
Tags 322
Created
Last updated
Last pushed

Top Contributors See all

M.K. Safi Loz Jackson Greenkeeper Thomas Jason Brown Andrew Ibby Hadeed Bill Columbia Michael Zedeler Dmitriy Tupalov Scott Newcomer sky-coding Kiran Erik Shestopal Kevin Ndung'u Sam Lin Zach Silveira Vanga Sasidhar Kees Kluskens Josemar Luedke

Packages Referencing this Repo

text-mask-bonline
Conforms string to given mask or pattern, and can be hooked up to input element
Latest release 0.0.1 - Published - 7.45K stars
text-mask-addons
Addons for Text Mask https://github.com/text-mask/text-mask
Latest release 3.8.0 - Updated - 7.45K stars
angular2-text-mask
Angular 2 directive for input text masking
Latest release 9.0.0 - Updated - 7.45K stars
react-text-mask
React input component that accepts mask pattern
Latest release 5.4.3 - Updated - 7.45K stars
vanilla-text-mask
JavaScript function that makes input HTML element accept mask pattern
Latest release 5.1.1 - Updated - 7.45K stars
@ramtel2005/text-mask-core
Core of https://github.com/text-mask/text-mask
Latest release 1.0.0 - Published - 7.45K stars
@ramtel2005/angular2-text-mask
Angular 2 directive for input text masking
Latest release 1.0.0 - Published - 7.45K stars
inoic3-input-mask
Input mask for inoic3 apps
Latest release 0.18.6 - Published - 7.45K stars
mhazy-react-text-mask
React input component that accepts mask pattern (BUG FIX EDITION)
Latest release 2.2.9 - Updated - 7.45K stars
text-mask-core
Core of https://github.com/text-mask/text-mask
Latest release 5.1.2 - Updated - 7.45K stars
all-text-mask
Conforms string to given mask or pattern, and can be hooked up to input element
Latest release 0.0.2 - Updated - 7.45K stars
angular7-text-mask
Fork of angular2-text-mask, an input mask working with typescript 3.2.4
Latest release 9.0.0 - Published - 7.45K stars
react-text-mask-qlean
React input component that accepts mask pattern
Latest release 5.4.2 - Published - 7.45K stars
aldo-react-text-mask
React input component that accepts mask pattern
Latest release 0.0.1 - Published - 7.45K stars
bmsdave-text-mask-addons
Addons for Text Mask https://github.com/text-mask/text-mask
Latest release 3.5.4 - Updated - 7.45K stars
angular1-text-mask
Angular 1 directive for input text masking
Latest release 6.1.2 - Updated - 7.45K stars
angular2-text-mask2
Angular 2 directive for input text masking
Latest release 0.22.4 - Updated - 7.45K stars
vue-text-mask
Vue component for input masking
Latest release 6.1.2 - Updated - 7.45K stars
@msafi/text-mask-core
Core of https://github.com/msafi/text-mask
Latest release 0.8.0 - Updated - 7.45K stars
@msafi/angular2-text-mask
Angular 2 directive for input text masking
Latest release 0.7.0 - Updated - 7.45K stars

Recent Tags See all

addons-v3.8.0 July 30, 2018
core-v5.1.2 July 25, 2018
vue-v6.1.2 July 24, 2018
react-v5.4.3 July 24, 2018
react-v5.4.2 June 14, 2018
vue-v6.1.1 May 07, 2018
vue-v6.1.1 May 07, 2018
vanilla-v5.1.1 May 07, 2018
vanilla-v5.1.1 May 07, 2018
react-v5.4.1 May 07, 2018
core-v5.1.1 May 07, 2018
core-v5.1.1 May 07, 2018
angular1-v6.1.2 May 07, 2018
angular2-v9.0.0 May 01, 2018
angular1-v6.1.1 April 29, 2018

Interesting Forks See all

ihadeed/ionic2-input-mask
Input mask for Ionic2 Applications
This repository is no longer available - 2 stars
lozjackson/text-mask
Input mask for React, Angular, and vanilla JavaScript. Flexible, robust & tiny.
JavaScript - Last pushed - 2 stars
Saritasa/text-mask
Input mask for React, Angular, Ember, Vue, & plain JavaScript
JavaScript - Last pushed - 1 stars
rlopes-fixeads/text-mask
Input mask for React, Angular, Ember, Vue, & plain JavaScript
JavaScript - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2018-07-26 13:58:31 UTC

Login to resync this repository