Wallet Balance Card
A fanned stack of payment cards: picking one springs it to the front while the rest tuck behind, the balance rolls to the new amount and an eye toggle blurs the figures.
Try it: Click a card behind to bring it forward; toggle the eye.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/wallet-balance-card.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/wallet-balance-card. You can also copy the source into components/ui/wallet-balance-card.tsx (view on GitHub).
Usage
import { WalletBalanceCard } from '@/components/ui/wallet-balance-card'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
cards | WalletCard[] | 3 cards | { id, name, last4, balance, from, to } |
currency / defaultIndex | string / number | '
|