Learn how to customize the appearance of the Para modal to match your application’s design.
ParaModal
component. These props allow you to
configure the modal’s appearance, authentication options, and security features.
appName
and logo
props, which are
essential for branding and user recognition.
currentStepOverride
prop in the Modal Configuration section, after the Required Props
section. Here’s how I would add it:
currentStepOverride
prop allows you to control which step of the modal flow is displayed when the modal opens.
This is useful when you want to skip directly to a specific step rather than starting from the beginning of the flow.
Modal Steps
AUTH_MAIN
- Main authentication optionsAUTH_MORE
- Additional authentication methodsEX_WALLET_MORE
- External wallet optionsEX_WALLET_SELECTED
- Selected external walletVERIFICATIONS
- Verification stepsBIOMETRIC_CREATION
- Biometric setupPASSWORD_CREATION
- Password creationSECRET
- Recovery secret displayACCOUNT_MAIN
- Main account viewADD_FUNDS_BUY
- Buy crypto viewADD_FUNDS_RECEIVE
- Receive crypto viewCHAIN_SWITCH
- Chain selection viewtwoFactorAuthEnabled
and recoverySecretStepEnabled
flags. When enabled, these flags add their respective authentication steps to the modal’s UI flow. Two-factor
authentication adds a verification code step, while the recovery secret step allows users to download and store their
account recovery credentials.
authLayout
prop can expand or collapse the view of OAuth methods and external wallets. Only one of Auth:
or
External:
can be passed into the array, either CONDENSED
or FULL
UI versions of each. The order of the array
determines the order that the components will be displayed in the modal.
mode
correctly based on your background color to ensure all components remain visible.font
variable of
the theme.customPalette
property. This
allows you to define colors for various components, ensuring that the modal aligns perfectly with your application’s
design language.