Add card.js to Ionic v3

Anyone know how to integrate card.js to an Ionic v3 app? The app already uses Stripe Elements to display the credit card form. I just want to include card.js to show a preview of the card.

I can’t find any documentation anywhere. I even tried referencing the JS file in index.html, but no luck.

Thanks.

1 Like

See: https://github.com/jessepollak/card#installing-card-from-npm

And: https://github.com/zenkkor/ngx-credit-cards

card.js is awesome…

I think card.js is skeuomorphic :slight_smile:

Yes, more js library like this please.

CSS3 can do what photoshop can do for UI design.

CSS3 is the best tool for UI design on mobile devices…
However, on Android, it’ll slow down a little if you design complicated object like the clock in youtube video.