ConnectButton
ConnectButton component renders a <button>
which when clicked opens a modal and allows users to connect to various wallets. It is extremely customizable and very easy to use.

Usage
Configure wallets in ThirdwebProvider
To Configure which wallets to show in the ConnectButton Modal, configure the
wallets
prop in theThirdwebProvider
component which wraps your entire application.To display a
Recommended
tag below a wallet provider, pass in therecommended: true
property in the wallet configurator function.If
wallets
is not configured in theThirdwebProvider
, the ConnectButton Modal shows the default wallets:Configure ConnectButton
Render the
ConnectButton
component anywhere in your application. Refer to Props to see the configuration options available