name | string | Prefills the label. Accepts alice or alice.eth. |
isTestnet | boolean | Uses Sepolia instead of Ethereum mainnet. |
referrer | Address | Referrer recorded with the registration. Defaults to Namespace’s referrer. |
avatarUploadDomain | string | Hostname used in the avatar upload sign-in message. Defaults to window.location.hostname. |
title | string | Replaces the form title. |
subtitle | string | Replaces the form subtitle. |
bannerImage | string | Image URL for the banner. |
bannerWidth | number | Banner width in pixels. |
hideBanner | boolean | Hides the banner. |
noBorder | boolean | Removes the card border. |
className | string | Class added to the form container. |
version | 1 | 2 | Defaults to 2 (ENSv2). ENSv1 registration is retired, so leave this unset. |
onRegistrationStart | (name: string) => void | Called when the first transaction is sent, with the full name. |
onRegistrationSuccess | (result: RegistrationSuccessData) => void | Called after the register transaction confirms. |
onClose | (isSuccess: boolean) => void | Called when the user closes the success screen. |
onConnectWallet | () => void | Called when the user needs to connect a wallet. |