Learn how to customize the login UI for smart wallets
The Abstraxn SDK allows you to customize the onboarding UI through the ui configuration object in your AbstraxnProvider config. All customization is done in one place - no additional configuration files needed.

Basic UI Configuration

Customize the UI by adding a ui property to your AbstraxnProvider configuration:

Available UI Options

Basic Options

Authentication Methods

Available methods:
  • 'otp' - Email OTP authentication
  • 'passkey' - Passkey/WebAuthn authentication
  • 'google' - Google OAuth
  • 'discord' - Discord OAuth
  • 'twitter' - Twitter/X OAuth

Custom Labels

Custom Colors

Custom CSS

External Wallets Configuration

To enable external wallet connections (MetaMask, WalletConnect, etc.):

Complete Example

Here’s a complete example with all customization options: