UX.SOL

Component

Mobile Wallet Payment Flow

Adapts Solana Pay guidance for desktop QR scanning and same-device mobile wallet handoff.

Preview

Installation

terminal
$npx shadcn@latest add https://uxdotsol.xyz/r/mobile-wallet-payment-flow.json

Usage

mobile-wallet-payment-flow.tsx
import { MobileWalletPaymentFlow } from "@/components/uxdotsol/flows/mobile-wallet-payment-flow";
 
<MobileWalletPaymentFlow
recipient={merchantAddress}
amount={0.25}
reference={orderReference}
/>

Props / Arguments

NameTypeDefaultDescription
propsSolanaPayCheckoutPropsrecipient and amount requiredSolana Pay request passed to the responsive checkout.