Custom UI
For custom sign-in pages or interfaces, we recommend creating a UI using the useConnect
hook.
Get started
Install
Install the Connect SDK
Obtain Client Id
On the thirdweb dashboard, navigate to settings to create an API Key to obtain a Client Id.
Create a simple UI
Add useConnect hook
Create an asynchronous function which prompts users to connect with installed MetaMask. If MetaMask is not installed, prompt the user with the Wallet Connect modal to allow users to scan and connect via QR code.
To fully customize and learn more about the useConnect
properties, view the full reference.
custom-sign-in-example
Example of how to use the `useConnect` hook in a Next application.