react-financial-inputs
v1.0.13
Published
A lightweight React component for credit card input with auto-formatting and real-time Luhn validation. Built with TypeScript and designed for easy integration into financial apps.
Readme
React Financial Inputs
react-financial-inputs
A lightweight, TypeScript-first React component for credit card input fields with real-time Luhn validation and auto-formatting. Designed for seamless integration into financial or e-commerce applications.
🚀 Features
- 🔢 Credit card formatting (e.g. 1234 5678 9012 3456)
- ✅ Luhn checksum validation
- 🧼 Auto-cleaning non-digit input
- 🧩 Easily embeddable in any React form
📦 Installation
npm install react-financial-inputs
