Skip to content
Interactive React Paycard
JavaScript CSS HTML
Branch: master
Clone or download

Latest commit

Latest commit abd1def Dec 25, 2019


Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Zoom in-out animation on CVV field Dec 24, 2019
public [ImgBot] Optimize images Nov 10, 2019
src Add Sandbox Url to readme Dec 25, 2019
.gitignore Convert Card to a statefull functional component Oct 30, 2019
LICENSE Create LICENSE Nov 11, 2019 Update Dec 25, 2019
demo.gif Add Images and gif display Nov 9, 2019
package-lock.json Fix issue where modifying card number anywhere Nov 13, 2019
package.json Fix ESLint warnings Nov 10, 2019


Inspired from a vue project vue-interactive-paycard, I decided to recreate the same on React as a part time fun project. I did some minor changes on the animations and optimizations on the code.

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


Libraries used

Available Scripts

In the project directory, you can run:

npm install

Installs all the required packages. You must run this command before start the development mode.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

You can’t perform that action at this time.