s-yadav/react-number-format
Some data may be outdated — see provenance labels.
React component to format numbers in an input or as a text. observed · 2026-09-27
Health v2 · maintenance only
62/100
- Activity 65
- Release rhythm 36
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 225.5
- age_days: 3838
- days_rel: 212
- days_push: 212
- n_releases_24m: 3
Adoption not part of the score
4100 stars · 415 forks observed · 2026-09-27
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A React library for formatting numbers in inputs or as text, with a lightweight caret engine that restricts input to specific numeric or string patterns. It supports prefixes, suffixes, thousands separators, input masking, and custom format patterns.
Use cases
- format currency input in a react form
- mask phone number input with a pattern
- add thousands separators to number inputs
- display formatted numbers as text in react
- restrict user input to numeric patterns
- build a credit card number input field
When to choose
- you need robust caret handling while users type formatted numbers
- you want prefix/suffix, separators, and masking out of the box
- you need both input formatting and plain text number display
When to avoid
- you are not using React
- you need arbitrary non-numeric text formatting beyond patterns
- you want a framework-agnostic vanilla JS formatter
Facets
library · maturity stable
form-handling ui-components frontend web-development browser react input-masking number-formatting currency-input nodejs web-server
1 source
- readme: https://github.com/s-yadav/react-number-format · fetched 2026-09-27 · 4b4d34476834
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| s-yadav/react-number-format | main | 62 |
For agents
markdown · JSON · MCP: product_card(name="s-yadav/react-number-format")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem