Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasminmif/react-interactive-paycard
Interactive React Paycard
https://github.com/jasminmif/react-interactive-paycard
credit-card payment react react-animated-css react-animations react-css-transition-group reactjs
Last synced: 25 days ago
JSON representation
Interactive React Paycard
- Host: GitHub
- URL: https://github.com/jasminmif/react-interactive-paycard
- Owner: jasminmif
- License: mit
- Created: 2019-10-29T18:54:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-16T07:25:52.000Z (12 months ago)
- Last Synced: 2024-09-30T19:10:39.664Z (about 1 month ago)
- Topics: credit-card, payment, react, react-animated-css, react-animations, react-css-transition-group, reactjs
- Language: JavaScript
- Homepage:
- Size: 9.38 MB
- Stars: 2,222
- Watchers: 43
- Forks: 245
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-interactive-paycard
Inspired from a vue project [vue-interactive-paycard](https://github.com/muhammederdem/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
### Demo
[https://codesandbox.io/s/github/jasminmif/react-interactive-paycard/tree/master/?fontsize=14&hidenavigation=1&theme=dark](https://codesandbox.io/s/github/jasminmif/react-interactive-paycard/tree/master/?fontsize=14&hidenavigation=1&theme=dark)
![](demo.gif)## Libraries used
- [react](https://github.com/facebook/react)
- [react-transition-group](https://github.com/reactjs/react-transition-group)## 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](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!