
Description
Maskito 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 the pointer, browser autofill and predictive text from mobile keyboards. The core package has zero dependencies, so it works in plain JavaScript, and separate packages exist for Angular, React, React Native and Vue. An optional framework-agnostic package provides ready-made masks. The project says it is written in strict TypeScript mode and covered by many Cypress tests. It supports server-side rendering and Shadow DOM, and it works with an input, a textarea or a contenteditable element. Maskito is part of the Taiga UI family of libraries, which the README describes as backed and used by a large enterprise. The project is covered by the Apache 2.0 license, and the README says the library may be used in commercial and private applications. The documentation explains how to use the library, and the repository includes a contributing guide for suggestions and bug reports.…
Highlights
- Input masks that enforce a format as the user types
- Handles typing, pasting, dropping, autofill and mobile keyboards
- Zero-dependency core for vanilla JavaScript
- Packages for Angular, React, React Native and Vue
- Server-side rendering and Shadow DOM support
Ratings & Reviews
No ratings yet
Be the first to rate maskito.
People also visit
maskito FAQ
What does Maskito do?
It creates an input mask so users can only type values that follow a predefined format.
Which frameworks does it support?
The core works in plain JavaScript, and the README lists packages for Angular, React, React Native and Vue.
What license is it under?
Apache 2.0, which the README says allows use in commercial and private applications.
Does it work on server-rendered pages?
Yes. The README says it supports server-side rendering and Shadow DOM.
Can it be used with fields other than inputs?
Yes. It works with input and textarea elements, and with contenteditable elements.
What are the best maskito alternatives?
Popular alternatives to maskito include react-text-mask, react-input-mask and @react-input/mask. See all maskito alternatives
















