f0rextasy

Wallet Card

Cards

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>
  );
}

More by f0rextasy

View all
  • Newsletter Signup Card

    Newsletter Signup Card

    21
  • Stamp Seal

    Stamp Seal

    18
  • Network Graph

    Network Graph

    18
  • Board Checklist

    Board Checklist

    17
  • Navbar

    Navbar

    14
  • Running Order Timeline

    Running Order Timeline

    13
  • Milestone Chart

    Milestone Chart

    11
  • Empty State Card

    Empty State Card

    9

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Photo Deck

    Photo Deck

    47
  • Folded Card

    Folded Card

    45
  • Statistics Card 10

    Statistics Card 10

    304
  • Statistics Card 2

    Statistics Card 2

    309
  • Statistics Card 7

    Statistics Card 7

    336
  • CTA Section

    CTA Section

    6
  • Liquid Glass Card

    Liquid Glass Card

    198