About
A digital wallet card showing an account balance, an add-funds action, and a short list of recent transactions.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Wallet Card to your project and fits it to your theme.
Code
How Wallet Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { WalletCard } from "@/components/ui/wallet-card";
export default function WalletCardDemo() {
return (
<div className="flex min-h-[420px] w-full items-center justify-center bg-background p-6">
<WalletCard
balance="$2,480.50"
onTopUp={() => console.log("Add funds clicked")}
transactions={[
{
id: "1",
label: "Grocery Store",
amount: "48.20",
negative: true,
date: "Today",
},
{
id: "2",
label: "Freelance Payment",
amount: "650.00",
date: "Yesterday",
},
{
id: "3",
label: "Coffee Shop",
amount: "6.75",
negative: true,
date: "Mon",
},
{ id: "4", label: "Refund", amount: "22.00", date: "Mon" },
]}
/>
</div>
);
}
















