SdkViewType.Login
is used to adjust the login/signup UI options programmatically.
When using the login view, you add an object to the views array. This object should have type: SdkViewType.Login
and sections
which is an array of SdkViewSection objects.
Field | Description |
---|---|
type: SdkViewSectionType | An identifier of the kind of view section to be provided, possible values outlined in section below. |
label?: string | The label for the section. This will be displayed above the section or as part of the separator component if it is a Separator section. |
alignment?: SdkViewSectionAlignment; | The text alignment used for Text sections. |
numOfItemsToDisplay?: number; | The default number of items to display in the section. For Wallet section, represents the number of wallet items to be displayed by default. User has to click a button to view more options if there are any. For Social section, represents the number of social providers to be displayed by default. User has to click a button to view more options if there are any. |
defaultItem?: string; | The option to be displayed as the main one. The default item will be displayed in a more prominent way than the rest of the items in the section. For Social section, represents the social provider to be displayed by default. |
wallet-list
configuration enables you to define tabs with predetermined labels, icons, filters, and recommended wallets, enhancing your application’s wallet selection interface. This feature is particularly useful for grouping wallets.
DynamicContextProvider
setup, the overrides
field is used to configure each tab in the wallet list. The configuration options available for each tab allow for detailed customization:
label
for text and an icon
for visual representation. The icon
can be one of the following options:
Example using Dynamic Iconic icons
Example custom image URL
Example using custom react icon
"grid"
.
All chains tab selected | Ethereum selected |
---|---|
![]() | ![]() |