React Hook for Input Masks

JSON →
library 3.9.0 ·javascript
verified May 27, 2026

use-mask-input is a React hook library providing flexible input masking capabilities for various form libraries and plain HTML inputs. It currently stands at version 3.9.0 and receives active development, with minor releases adding features like new mask aliases and integrations, and patch releases for optimizations and bug fixes. Key differentiators include out-of-the-box support for popular form libraries such as React Hook Form, TanStack Form, and Ant Design, as well as a rich set of built-in mask aliases for common patterns like Brazilian banking information, CPF, CNPJ, currency, email, and date/time. The library focuses on providing a performant and developer-friendly API through custom hooks and higher-order functions, ensuring seamless integration into modern React applications. It primarily targets client-side usage within a React context.

total hits 19
actors 6 distinct systems
last hit 1d ago human
GPTBot
5
ChatGPT-User
4
MetaBot
4
Script
1
Search engines
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇩🇪 Germany · 🇫🇷 France