Docs

UseConnectModalOptions

Options for configuring Connect Modal for useConnectModal hook

type UseConnectModalOptions = {
accountAbstraction?: SmartWalletOptions;
appMetadata?: AppMetadata;
chain?: Chain;
chains?: Array<Chain>;
client: ThirdwebClient;
locale?: LocaleId;
privacyPolicyUrl?: string;
recommendedWallets?: Array<Wallet>;
setActive?: boolean;
showAllWallets?: boolean;
showThirdwebBranding?: boolean;
size?: "compact" | "wide";
termsOfServiceUrl?: string;
theme?: "dark" | "light" | Theme;
title?: string;
titleIcon?: string;
walletConnect?: { projectId?: string };
wallets?: Array<Wallet>;
welcomeScreen?: WelcomeScreen;
};