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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?