Skip to content

Credit Card

visually stunning Credit Card Animated component which flips if tapped.

Alt text

Installation

  1. Install component
    Terminal window
    npm install @cascadeui/credit-card
  2. Add react-native-reanimated plugin into babel.config
    module.exports = {
    presets: [
    ... // don't add it here :)
    ],
    plugins: [
    ...
    'react-native-reanimated/plugin',
    ],
    };

Props

PropTypeDescription
bankNamestringName of the bank.
cardNumberstringCard Number, duh!.
cardHolderNamestringCard Holder’s Name.
expiryDatestringExpiry Date .
cvvstringCVV number.