Animated Wallet
January 16, 2023 ยท View on GitHub
AnimatedWallet component can be used to provide a fascinating experience of wallet with animated cards.
๐ฌ Preview
| AnimatedWallet |
|---|
![]() |
Default Usage
import { StyleSheet, View } from 'react-native';
import React from 'react';
import { AnimatedWallet } from 'react-native-skia-catalog';
const WalletScreen = () => (
<View style={style.container}>
<AnimatedWallet />
</View>
);
const style = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
});
export default WalletScreen;
Custom Usage
import { StyleSheet, View } from 'react-native';
import React from 'react';
import { AnimatedWallet } from 'react-native-skia-catalog';
const WalletScreen = () => (
<View style={style.container}>
<AnimatedWallet
size={260}
primaryColor={'#3F0071'}
secondaryColor={'#FB2576'}
numberOfCards={3}
/>
</View>
);
const style = StyleSheet.create({
container: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
},
});
export default WalletScreen;
๐ฌ Custom Usage Preview

Properties
| Props | Default | Type | Description |
|---|---|---|---|
| size | 240 | number | Size of Wallet. |
| numberOfCards | 2 | number | Number of cards in Wallet. Note : Max 3. |
| primaryColor | #fca819 | string | Primary color of Wallet. |
| secondaryColor | #ff2b3e | string | Secondary color of Wallet. |
