# sbycrosz/react-native-credit-card-input

Easy, cross-platform credit-card input for your React Native Project! Start accepting payment 💰 in your app today!

Repository: https://github.com/sbycrosz/react-native-credit-card-input
Canonical: https://ross.abutalabs.com/products/react-native-credit-card-input
Language: TypeScript
License: MIT
License Family: permissive
Topics: react-native, component, payment, credit-card, ios, android
Last push: 2025-11-10T09:22:25+00:00

## Health v2 (maintenance only)
Score: 46/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 51, release rhythm 8, longevity 100
- inputs: {"age_days": 3653, "days_push": 296, "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 1508, forks 708 (observed 2026-08-28T04:04:55.583795+00:00)

## What it is
A React Native component library providing ready-made, good-looking credit card input forms with real-time validation and formatting. It offers a full skeuomorphic card view and a lite compact variant, working on iOS, Android, and web.

## Use cases
- add a credit card payment form to a react native app
- validate and format card number, expiry, and cvc as the user types
- build a checkout screen with a visual credit card preview
- accept card payments in an expo prototype
- detect card type like visa or mastercard from the entered number

## When to choose
- you need a quick, polished card input component for a proof of concept
- you want built-in card validation and formatting without wiring a form library
- you need a cross-platform (iOS, Android, web) card input out of the box

## When to avoid
- you need fully custom card form UI or styling beyond the provided components
- you already use a form library and only need validation logic (use card-validator instead)
- you require PCI-compliant tokenized payment fields from a payment provider

## Facets
- artifact type: library
- maturity: active
- function: ui-components, form-handling
- domain: mobile-development, frontend, fintech, web-development
- platform: cross-platform
- tags: react-native, credit-card-input, payment-form, typescript, expo, ios, android, web

## Member repositories
- sbycrosz/react-native-credit-card-input (main) score 46

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:55.583795+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-30T04:32:34.425028+00:00, confidence not recorded.
  - readme: https://github.com/sbycrosz/react-native-credit-card-input (fetched 2026-08-28T04:04:55.583795+00:00, sha 23f43c77c9a6)
  - registry_npm: https://registry.npmjs.org/react-native-credit-card-input (fetched 2026-08-29T11:37:01.557890+00:00, sha 50ef69cc2a55)
- Data as of 2026-08-30T08:39:29.467469+00:00.
