Skip to Content
BlocksQuickSendBlock

QuickSendBlock

A quick money transfer interface with beneficiary selection.

Import

import { QuickSendBlock } from "@raydenui/ui/blocks";

Usage

Quick Send

<QuickSendBlock beneficiaries={[ { id: "1", name: "John Doe", handle: "johndoe", avatar: <Avatar type="image" src="..." size="lg" /> }, { id: "2", name: "Sarah", handle: "sarah_m", avatar: <Avatar type="image" src="..." size="lg" /> }, { id: "3", name: "Mike", handle: "mike_t", avatar: <Avatar type="image" src="..." size="lg" /> }, ]} onSelect={(id) => handleBeneficiarySelect(id)} />
<QuickSendBlock title="Quick Send" seeAllLabel="See all beneficiaries" onSeeAll={() => navigate("/beneficiaries")} beneficiaries={beneficiaries} onSelect={(id) => handleBeneficiarySelect(id)} />

With Initials

<QuickSendBlock beneficiaries={[ { id: "1", name: "John Doe", handle: "johndoe", initials: "JD" }, { id: "2", name: "Sarah Miller", handle: "sarah_m", initials: "SM" }, ]} onSelect={(id) => handleBeneficiarySelect(id)} />

Props

PropTypeDefaultDescription
titlestring"Quick Send"Header title
seeAllLabelstring"See all beneficiaries"See all link label
onSeeAll() => void—See all click handler
beneficiariesQuickSendBeneficiary[]—List of recipients (required)
onSelect(id: string) => void—Selection handler
classNamestring—Additional CSS classes

QuickSendBeneficiary

PropTypeRequiredDescription
idstringYesUnique identifier
namestringYesBeneficiary name
handlestringYesUsername/handle (e.g., @johndoe)
avatarReactNodeNoCustom avatar element
initialsstringNoInitials for default avatar

Accessibility

  • Beneficiary buttons are keyboard navigable
  • Names and handles are announced to screen readers
  • Focus states are clearly visible
Last updated on