text-mask

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

Github星跟蹤圖

Text Mask

⚠️ This library is not maintained. Pull-requests and issues are not monitored. I'm happy to list alternative libraries here. If you know a good alternative, email me at msafi@msafi.com.


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!

主要指標

概覽
名稱與所有者text-mask/text-mask
主編程語言JavaScript
編程語言JavaScript (語言數: 8)
平台
許可證The Unlicense
所有者活动
創建於2016-01-22 23:19:59
推送於2025-05-26 18:32:18
最后一次提交2025-05-26 21:32:18
發布數301
最新版本名稱addons-v3.8.0 (發布於 )
第一版名稱angular2-v0.4.3 (發布於 )
用户参与
星數8.2k
關注者數96
派生數831
提交數495
已啟用問題?
問題數698
打開的問題數270
拉請求數252
打開的拉請求數64
關閉的拉請求數82
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?