ConnectEmbed
An inline wallet connection component that allows to:
Connect to 350+ external wallets
Connect with email, phone, passkey or socials
Convert any wallet to a ERC4337 smart wallet for gasless transactions
Sign in with ethereum (Auth)
It renders the same UI as the ConnectButton
component's modal - but directly inline in the page instead of being in a modal.
Once connected, the component does not render any UI. It only renders UI if wallet is not connected.
Example
Default setup
View all available config options
Customization options
Customizing wallet options
Customizing the default chain to connect to
Enabling Account Abstraction
By passing the accountAbstraction
prop, ALL connected wallets will be converted to smart accounts.
And by setting sponsorGas
to true
, all transactions done with those smart accounts will be sponsored.
Enabling sign in with ethereum (Auth)
Customizing the theme
For more granular control, you can also pass a custom theme object:
View all available themes properties
Changing the display language
Parameters
Returns
A JSX element that renders the <ConnectEmbed>
component.