Card will take any credit card form and make it the best part of the checkout process (without you changing anything). Everything is created with pure CSS, HTML, and Javascript, no images required. To use, you'll need to include the Card JavaScript files into your HTML, no CSS link is necessary as the JavaScript file does this for you. You can find the necessary file at /dist/card.js and include it in your HTML like so. Once you've included those files, you can initialize Card. Card can be used in forms where you have multiple inputs that render to a single field (i.e. you have a first and last name input). To use Card with this functionality, just pass in a selector that selects the fields in the correct order. Card renders with default placeholders for card name, number, expiry, and cvc. To override these placeholders, you can pass in a placeholders object.

Features

  • A better credit card form in one line of code
  • Install card from npm
  • Use multiple inputs for one field
  • Render with different initial card placeholders
  • Render the card with the strings in a different language
  • Use with jQuery

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Card

Card Web Site

Other Useful Business Software
Stop Storing Third-Party Tokens in Your Database Icon
Stop Storing Third-Party Tokens in Your Database

Auth0 Token Vault handles secure token storage, exchange, and refresh for external providers so you don't have to build it yourself.

Rolling your own OAuth token storage can be a security liability. Token Vault securely stores access and refresh tokens from federated providers and handles exchange and renewal automatically. Connected accounts, refresh exchange, and privileged worker flows included.
Try Auth0 for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Card!

Additional Project Details

Operating Systems

Windows

Programming Language

CoffeeScript

Related Categories

CoffeeScript Software Development Software

Registered

2022-06-14