Svelte Credit Card
A component to render a credit card preview, useful for ecommerces.
Based in react-credit-cards A react component with beautiful credit cards for your payment forms.
You need svelte-loader or a rollup svelte configuration
$ npm install svelte-credit-cards
$ yarn add svelte-credit-cards
You can create inputs and send the values as props to the CreditCard component
<script>;let number = "";let name = "";let cvc = "";let expiry = "";</script>
react-credit-cards - A react component with beautiful credit cards for your payment forms.
Svelte Component Template - A base for building shareable Svelte components.
Payment - A jQuery-free general purpose library for building credit card forms, validating inputs and formatting numbers.
Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the MIT License - see the LICENSE file for details