theme, branding, 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.
Branding
Replace the modal header logo and title with your own.Properties
| Property | Type | Default | Description |
|---|---|---|---|
logoUrl | string | Rhinestone logo | Image URL for the modal header |
title | string | "Deposit" / "Withdraw" | Header title text |
UI configuration
Toggle UI elements and set deposit constraints viauiConfig.
Properties
| Property | Type | Default | Description |
|---|---|---|---|
showLogo | boolean | false | Show the branding logo in the header |
showStepper | boolean | false | Show the progress stepper |
showBackButton | boolean | true | Show the back button in the header |
balance | { title: string, amount?: string } | — | Custom balance display. title sets the label, amount optionally overrides the displayed value. |
maxDepositUsd | number | — | Maximum deposit amount in USD |
minDepositUsd | number | — | Minimum deposit amount in USD |