theme and uiConfig props to control appearance and behavior.
Theme
Pass atheme object to control the modal’s visual style.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
mode | "light" | "dark" | "light" | Color mode |
radius | "none" | "sm" | "md" | "lg" | "full" | "md" | Border radius preset |
fontColor | string | — | Primary text color |
iconColor | string | — | Icon color |
ctaColor | string | — | Call-to-action button background |
ctaHoverColor | string | — | CTA button hover background |
borderColor | string | — | Border color |
backgroundColor | string | — | Modal background color |
mode.
UI configuration
Toggle UI elements, set deposit constraints, and control fee display viauiConfig.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
showBackButton | boolean | true | Show the back button in the header |
showHistoryButton | boolean | false | Show the deposit history button in the header |
minDepositUsd | number | — | Minimum deposit amount in USD |
maxDepositUsd | number | — | Maximum deposit amount in USD |
feeSponsored | boolean | false | When true, the network/protocol fee renders struck-through on the review, processing, and result screens, with a tooltip explaining the sponsorship |
feeTooltip | string | — | Custom copy for the fee info tooltip. Defaults to a generic message based on feeSponsored. |
checkLiquidity | boolean | false | When true, runs an orchestrator liquidity check as the user continues from the amount step and surfaces an “unavailable / check failed” warning on the review screen. Does not block the deposit |