A Simple Credit Card Validation Component for VueJS

Vue credit card component which features input mask, card preview, multiple languages, hiding sensitive information, etc.


  • Localization (i18n) (all translations welcome)
  • Card preview
  • Hide sensitive information
  • Card insertion mask
  • Easy to customize
  • Checker

Note: The localization only supports Turkish, German, and English languages at the moment.

How to make use of it:

Install and download:

$ npm install @fracto/vue-credit-card --save

1. Install and import the component.

import VueCreditCard from '@fracto/vue-credit-card';

2. Register the component.

// or 
export default {
  components: {VueCreditCard}

3. Create a credit card form in the app template.

var app = new Vue({
    el: '#app',
    data: {
      myCustomCardTypes: [
        {regEx: /^4[0-9]{5}/ig, name: 'visa', icon: require('visa_icon.png')},
        {regEx: /^5[1-5][0-9]{4}/ig, name: 'mastercard', icon: require('master_icon.png')},

Easy Credit Card Component, vue credit card Plugin/Github, card validation with demo, jquery validate credit card

See Demo And Download

Official Website(fracto-team): Click Here

This superior jQuery/javascript plugin is developed by fracto-team. For extra Advanced usage, please go to the official website.

Related Posts


[Animation] Bootstrap Multi-Level Responsive Dropdown Menu

Bootstrap-based multi-level dropdown navigation menu with cool animations. The dropdown on Hover is a jQuery plugin used to create Bootstrap multi-level scroll-triggered dropdown menus with CSS3 animations…


Google Translate Dropdown Customize With Country Flag | GT API

Flag google translates jQuery text that takes advantage of the Google Cloud Translation API to translate web content between languages by selecting a country from the dropdown…


HTML 5 File Input Optimized for Bootstrap 4.x./3.x with File Preview | Bootstrap Fileinput

bootstrap-fileinput is an improved HTML 5 file input  Bootstrap 5.x, 4.x and 3.x with file preview for different files, provides multiple selections, resumable section uploads, and more….


Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…


Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…


Lightweight Bootstrap 4 Toast Notification Plugin | BS4 Advanced Toast

A lightweight Bootstrap 4 Toast Notification plugin integrated with JS/jQuery. bs4-toast.js is a JavaScript library that enhances the native Bootstrap toast component with icons, buttons, callbacks, and…

Leave a Reply

Your email address will not be published. Required fields are marked *