WalletDropdownFundLink
works just like the FundButton
except that it’s inside your wallet
dropdown menu.
If your user connects a Coinbase Smart Wallet, it provides an easy way to access the Coinbase Smart Wallet
Fund flow. Users will be able to buy and receive crypto, or use their Coinbase
balances onchain with Magic Spend.
If your user connects any other EOA wallet, it provides an easy way to access Coinbase Onramp
where your users will also be able to buy crypto using a fiat payment method, or transfer existing crypto from their
Coinbase account.
Coinbase Onramp SupportIf you would like to provide non Coinbase Smart Wallet users with an easy way to access Coinbase Onramp, please make
sure you go through the
FundButton
walkthrough to configure your Project ID. Otherwise
only Coinbase Smart Wallet users will be able to use the WalletDropdownFundLink
.Usage
Override text
You can override component text using thetext
prop.
Override icon
You can override the icon using theicon
prop.
Customizing the popup size
You’re able to customize the size of the popup window using thepopupSize
prop. Valid values are sm
, md
, and lg
.
Override default behavior
You can override default link behavior by using theopenIn
prop. Valid values are popup
and tab
.
Override funding URL
You can override the default URL by using thefundingUrl
prop.