Transfer Funds Card
Overview
A money transfer form card with account pickers, a summary and a confirm action.
This form component is intended for interfaces that need a money transfer form card with account pickers, a summary and a confirm action, authentication flows, and settings forms. Its implementation is provided as editable source so the final behavior and styling stay inside your project.
Technologies
Detected package dependencies: motion, lucide-react.
Transfer Funds
Move money between your connected accounts.
Installation
Usage
import { TransferFundsCard } from "@/components/spectrumui/transfer-funds-card"<TransferFundsCard
amount="1,200.00"
fromAccount="Main Checking (··8402) — ,450.00"
toAccount="High Yield Savings (··1192) — ,100.00"
onConfirm={() => console.log("confirm")}
/>API Reference
TransferFundsCard
A presentational form: amount, source and destination pickers, a summary table and a confirm button. Every label and value is a prop, so the card can be wired to real data or used as a static showcase.
| Prop | Type | Default | Description |
|---|---|---|---|
amount | string | "1,200.00" | Formatted amount shown in the amount field |
currencySymbol | string | "$" | Symbol shown before the amount |
fromAccount | string | - | Text of the source account picker |
toAccount | string | - | Text of the destination account picker |
summary | { label: string; value: string; emphasized?: boolean }[] | - | Rows of the summary table; emphasized rows render bold |
title | string | "Transfer Funds" | Card heading |
description | string | "Move money between your connected accounts." | Supporting copy under the heading |
amountLabel | string | "Amount to Transfer" | Label for the amount field |
fromLabel | string | "From Account" | Label for the source picker |
toLabel | string | "To Account" | Label for the destination picker |
buttonLabel | string | "Confirm Transfer" | Confirm button text |
onConfirm | () => void | - | Fires when the confirm button is pressed |
onClose | () => void | - | Fires when the close button in the header is pressed |
className | string | - | Additional classes merged with the root styles |
Use cases
- interfaces that need a money transfer form card with account pickers, a summary and a confirm action
- authentication flows
- settings forms
Features
- Copy-paste source that remains in your repository
- TypeScript source included with the component
- Tailwind CSS classes editable in the component source
- Animation implemented with Motion
Accessibility
- The source includes ARIA attributes or roles; preserve them when customizing the component.
- No reduced-motion marker was detected; add or verify a reduced-motion path before production use.
- Test focus order, keyboard operation, labels, contrast, and screen-reader output in the final application context.
Customization
- Edit the Tailwind utility classes in the copied source to match your spacing, color, and typography tokens.
- Use the documented className surface for local layout adjustments, then edit the source for structural changes.
- Adjust Motion transitions in the source and keep the reduced-motion behavior aligned with the final interaction.
Related components
Transfer Funds Card FAQ
Is Transfer Funds Card free to use in commercial projects?
Yes. The public Transfer Funds Card source is available under the Apache License 2.0, including for commercial use, subject to the LICENSE terms.
How do I install Transfer Funds Card?
Run npx shadcn@latest add @spectrumui/transfer-funds-card. The page also exposes the source for manual installation.
Does Transfer Funds Card require Motion?
Yes. Motion usage was detected in the documented source or registry dependencies for Transfer Funds Card.
Does Transfer Funds Card use shadcn/ui or Radix UI?
No shadcn/ui or Radix UI dependency was detected in the documented Transfer Funds Card source.
Can I use Transfer Funds Card in Next.js?
The documented React source is used in this Next.js application. Keep its use client directive when copying it into the App Router. Install the detected dependencies and verify any application-specific data or image configuration.
What accessibility checks should I run for Transfer Funds Card?
The source includes ARIA markup. Test the finished interface with keyboard and screen-reader workflows.