Skip to content

trinhquocthinh/paycard

Repository files navigation

React Interactive PayCard (TypeScript)

A fantastic credit card form with smooth and sweet micro-interactions. Includes number formatting, validation and automatic card type detection. Built with React and TypeScript with full type safety and also fully responsive.

This project is using React.js with TypeScript, maintaining all the original functionality and styling while adding type safety and better developer experience.

Features

  • 💳 Automatic card type detection
  • 🔒 Card number masking/unmasking
  • ✨ Smooth animations and transitions
  • 📱 Fully responsive design
  • 🌍 Internationalization support (English, Portuguese, Turkish)
  • ✅ Card validation using Luhn algorithm
  • 🎨 Beautiful card animations
  • 🔷 Full TypeScript support with type safety
  • 🛠️ Modern React patterns with hooks

Project setup

npm install

Compiles and hot-reloads for development

npm start

Compiles and minifies for production

npm run build

Run your unit tests

npm test

Lints and fixes files

npm run lint

Technologies Used

  • React 18
  • TypeScript 4.9
  • React i18next for internationalization
  • SCSS for styling
  • Create React App for build configuration
  • Full type safety and IntelliSense support

Browser Support

Modern browsers (Chrome, Firefox, Safari, Edge)

License

This project is open source and available under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published