The Wallet Modal provides users with multiple wallet connection options in a polished interface.
WalletModal
offers users multiple wallet connection options. The modal automatically appears when users click the ConnectWallet
component and provides several connection paths:
Configure the OnchainKitProvider with modal settings:
Use the ConnectWallet component in your UI:
The Wallet Modal components are designed to work together hierarchically:
<OnchainKitProvider />
- Configures the modal settings and appearance<ConnectWallet />
- Triggers the modal to open when clicked<WalletModal />
- The modal interface itself, containing:
The modal automatically handles:
By default, the wallet modal includes Coinbase Wallet, MetaMask, and Phantom as connection options. You can enable additional wallet support by configuring the supportedWallets
object in the OnchainKitProvider
:
Each wallet can be individually enabled or disabled as needed. If no supportedWallets
configuration is provided, the additional wallets will be disabled by default.
The Wallet Modal provides users with multiple wallet connection options in a polished interface.
WalletModal
offers users multiple wallet connection options. The modal automatically appears when users click the ConnectWallet
component and provides several connection paths:
Configure the OnchainKitProvider with modal settings:
Use the ConnectWallet component in your UI:
The Wallet Modal components are designed to work together hierarchically:
<OnchainKitProvider />
- Configures the modal settings and appearance<ConnectWallet />
- Triggers the modal to open when clicked<WalletModal />
- The modal interface itself, containing:
The modal automatically handles:
By default, the wallet modal includes Coinbase Wallet, MetaMask, and Phantom as connection options. You can enable additional wallet support by configuring the supportedWallets
object in the OnchainKitProvider
:
Each wallet can be individually enabled or disabled as needed. If no supportedWallets
configuration is provided, the additional wallets will be disabled by default.