Build your own UI
Low level control to authenticate and connect wallets
You have full control with the connection hooks and functions to build your own UI. To use embedded wallets, you first choose a authentication strategy and then connect.
Starting from a template
View a fully functioning example of an embedded wallet with a custom UI:
Setup the ThirdwebProvider
Only needed for React and React native platforms
This will ensure that the wallet is available to all components in your app, handle connection states and auto-connection on page load.
Authenticate via Google
Note that for Apple and Facebook you just need to update the strategey to "facebook" or "apple".
In React and React Native, the
useEmbeddedWallet() hook handles authentication and connection states.