Wallet Balance

NEW

An interactive wallet balance component where branded cards tuck neatly into an embossed leather pouch with spring physics. Tap the eye button to reveal or mask balances with smooth blur-crossfade transitions.

stripe$32,495
wise$45,654
PayPal$345,865
424,014

Total Balance

Total balance 424,014

Installation

Add the component directly to your repository using shadcn CLI:

npx shadcn@latest add Surajmaurya1/easyui/wallet-balance

API Reference

PropTypeDefaultDescription
accountsWalletAccount[]DEFAULT_ACCOUNTSArray of up to 3 accounts displaying logo, balance, and custom colors
visiblebooleanundefinedControlled visibility state for balances and cards
defaultVisiblebooleantrueUncontrolled initial visibility state
onVisibleChange(visible: boolean) => voidundefinedCallback fired when balance visibility is toggled
currencystring'USD'ISO currency symbol used for formatted card amounts
localestring'en-US'Locale string for number formatting
totalLabelstring'Total Balance'Caption label displayed below the total balance figure
classNamestring''Optional CSS class overrides for the outer container