Component
Mobile Wallet Payment Template
Complete responsive Solana Pay page for desktop QR and same-device mobile wallet payments.
Preview
Installation
terminal
$npx shadcn@latest add https://uxdotsol.xyz/r/mobile-wallet-payment.jsonUsage
mobile-wallet-payment.tsx
import { MobileWalletPaymentTemplate } from "@/components/uxdotsol/templates/mobile-wallet-payment"; <MobileWalletPaymentTemplate recipient={merchantAddress} amount={0.25} reference={orderReference}/>Props / Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| props | MobileWalletPaymentFlowProps | recipient and amount required | Responsive Solana Pay request and wallet-handoff configuration. |
| heading | string | 'Pay with a mobile wallet' | Page heading above the flow. |

