Docs

PayEmbed

Embed thirdweb Pay UI for Buy tokens using Crypto or Credit Card.

PayEmbed also renders a "Connect" button if the user is not connected to a wallet. You can customize the options for "Connect" button using the connectOptions prop.

Example

<PayEmbed
client={client}
connectOptions={{
connectModal: {
size: "compact",
},
}}
payOptions={{
buyWithCrypto: false,
}}
/>;

Parameters

Returns