# bhrott/react-native-masked-text

A pure javascript masked text and input text component for React-Native.

Repository: https://github.com/bhrott/react-native-masked-text
Canonical: https://ross.abutalabs.com/products/react-native-masked-text
Language: JavaScript
License: MIT
License Family: permissive
Topics: react-native, mask, input
Last push: 2025-04-10T07:33:12+00:00

## Health v2 (maintenance only)
Score: 30/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 15, release rhythm 8, longevity 100
- inputs: {"age_days": 3620, "days_push": 510, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1606, forks 245 (observed 2026-08-28T04:05:10.455533+00:00)

## What it is
A pure JavaScript masked text and input component for React Native, supporting masks for phone numbers, CPF, dates, money, and custom patterns. It provides formatted input handling with methods to retrieve raw values and validate input.

## Use cases
- format phone number input in a react native app
- mask cpf input field in react native
- create a currency input with automatic formatting
- mask date input as user types
- build custom text input masks for react native forms
- get unmasked raw value from formatted input

## When to choose
- you need prebuilt input masks for Brazilian formats like CPF, phone, or money
- you want a pure JavaScript solution with no native dependencies
- you need both masked display and raw value extraction

## When to avoid
- you need actively maintained software with recent React Native compatibility guarantees
- you need masks for locales beyond the built-in options and want community support
- you are starting a new project and want a maintained alternative

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components, form-handling
- domain: mobile-development, frontend
- platform: cross-platform
- tags: react-native, input-masking, text-input, javascript, mobile

## Member repositories
- bhrott/react-native-masked-text (main) score 30

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:10.455533+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:51:49.465423+00:00, confidence not recorded.
  - readme: https://github.com/bhrott/react-native-masked-text (fetched 2026-08-28T04:05:10.455533+00:00, sha f75a2f6c384f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
