Skip to main content
Particle Network places a strong emphasis on deep customization and application-specificity. Whether it’s logos, colors, or border sharpness, virtually every aspect of Particle’s native login interface can be tailored programmatically using Particle ConnectKit or Particle AuthKit. This guide will explore the various methods available for customizing these modals to meet your specific needs.

Particle Connect Customization

Particle Connect is the suggested SDK for driving generalized onboarding, supporting both social logins and standard wallet connection through a single interface. Importantly, it allows deep programmatic visual customization when initializing the SDK with createConfig in the ConnectKitProvider component.
Customizing the Particle Connect interface.
Customization at a higher level is straightforward, with options such as setting light or dark mode via the mode parameter within createConfig, selecting the interface language using language, or specifying a custom logo through logo, among others. For more granular control, deeper customization is available through the theme parameter, part of the appearance object in createConfig. The theme object accepts the following options:
Each of these options allows you to customize the appearance of the authentication modal, wallet modal, and transaction popups. The following example demonstrates how to apply a green hacker theme to Particle Connect:
ConnectKit.tsx

Materialization of the above parameters for Particle Connect.

For a full guide on configuring Particle Connect, head over to the quickstart guide.

Customizing the ConnectButton Text

Particle Connect enables you to customize the text displayed on the ConnectButton component used for user login. To modify the text, add the label prop to the ConnectButton component:

Particle AuthKit Customization

As an alternative to Particle Connect, Particle Auth (@particle-network/authkit) offers a dedicated modal containing exclusively social logins. The most common way to customize this interface is through programmatic style definitions, which can be applied during SDK initialization through the AuthCoreContextProvider component, as will be demonstrated below. You can achieve high-level customization by adjusting parameters such as themeType for light or dark mode within AuthCoreContextProvider, language to set the language of the modal, and fiatCoin to choose the fiat currency display. For more advanced customization, the customStyle parameter in the options object of AuthCoreContextProvider offers deeper control. The customStyle parameter accepts the following options:
customStyle
The ThemeStyle object allows you to customize the appearance of the authentication modal and transaction popups. It provides options for defining various visual elements, including colors, backgrounds, borders, and more. The ThemeStyle object accepts the following properties:
ThemeStyle
The following example demonstrates how to implement a green hacker theme for the Particle Auth login modal:

Materialization of the above parameters for Particle Auth.

For a full guide on configuring Particle Auth, head over to the quickstart guide.