ham7a311

Transfer Composer

Forms

About

A multi-step money-transfer form that walks a user through entering an amount and recipient, reviewing the fee and business-day arrival date, and viewing a success receipt with a reference number.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Transfer Composer to your project and fits it to your theme.

Code

How Transfer Composer is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";
import { TransferComposer } from "@/components/ui/transfer-composer";
import { useRef } from "react";

export default function TransferComposerDemo() {
  const sends = useRef(0);
  return (
    <div className="flex min-h-full w-full justify-center px-4 py-10 bg-[#0b0b0c]">
      <div className="w-full max-w-[34rem]">
        <TransferComposer
          theme="dark"
          locale="en-US"
          today="2026-10-05"
          accounts={[
            { id: "op", name: "Operating", last4: "2210", balance: 8_421_055 },
            {
              id: "tax",
              name: "Tax reserve",
              last4: "8834",
              balance: 1_260_000,
            },
          ]}
          recipients={[
            {
              id: "q",
              name: "Qalam Studio LLC",
              bank: "Ruwi Savings",
              last4: "5521",
            },
            {
              id: "l",
              name: "Layla Al-Harthy",
              bank: "Gulf Coast Bank",
              last4: "0937",
            },
          ]}
          onSend={() =>
            new Promise((resolve, reject) =>
              setTimeout(
                () =>
                  ++sends.current === 1
                    ? reject(
                        new Error(
                          "The receiving bank didn't answer in time. Nothing left your account; try again.",
                        ),
                      )
                    : resolve({
                        reference: `TRF-${String(48213 + sends.current)}`,
                      }),
                900,
              ),
            )
          }
        />
      </div>
    </div>
  );
}

More by ham7a311

View all
  • Route Globe

    Route Globe

    13
  • Wave Mesh

    Wave Mesh

    8
  • Uptime Ribbon

    Uptime Ribbon

    6
  • Glass Carousel

    Glass Carousel

    6
  • Glass Tiles

    Glass Tiles

    6
  • Streak Field Stats

    Streak Field Stats

    5
  • Wind Map

    Wind Map

    5
  • Time Window

    Time Window

    4

More in Forms

View all
  • Premium Auth

    Premium Auth

    496
  • Authentication Card

    Authentication Card

    44
  • Login 1

    Login 1

    52
  • Login 2

    Login 2

    7
  • Form

    Form

    32
  • Card Studio

    Card Studio

    41
  • Login Card

    Login Card

    32
  • Form

    Form

    136