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

    8
  • Stamp Seal

    Stamp Seal

    7
  • Network Graph

    Network Graph

    7
  • Board Checklist

    Board Checklist

    5
  • Empty State Card

    Empty State Card

    3
  • Running Order Timeline

    Running Order Timeline

    3
  • Time Input

    Time Input

    3
  • Data Table

    Data Table

    3

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 7

    Statistics Card 7

    297
  • Statistics Card 2

    Statistics Card 2

    270
  • Stats cards with links

    Stats cards with links

    81
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    158
  • Card

    Card

    70
  • Card Studio

    Card Studio

    35
  • Card

    Card

    18