Skip to main content
<MoonPayBuyFrame> is a headless component (renders nothing visible) that drives the buy pipeline. It is the declarative alternative to client.setupBuy(). Use this component when you want to drive the buy flow without a visible frame — for example, to present your own UI while the transaction processes in the background, then show <MoonPayChallenge> only if a challenge step is required. The quote prop is reactive: updating it pushes the new signature directly into the live frame without a remount.
BuyFlow.tsx

Props

This component renders nothing visible (0×0). It has no style prop.

BuyEvent