appearance={{
rules: {
PrimaryButton: {
borderRadius: "8px",
font: {
family: "Inter",
size: "16px",
weight: "600"
},
colors: {
text: "#FFFFFF",
background: "#0074D9"
},
hover: {
colors: {
background: "#0063B8"
}
},
disabled: {
colors: {
text: "#FFFFFF",
background: "#CCCCCC"
}
}
}
}
}}
appearance prop, allowing you to match the look and feel of your application.
Quick Start
Identity Verification Screens
When an order requires KYC, the identity verification screens render inside the checkout and read the sameappearance object, so your theme applies to them without extra configuration. There is no separate theme key: an opaque dark backgroundPrimary switches the screens to their dark defaults. See the identity verification UI customization guide for the settings that apply, the default colors, and how to place the screens on your page.
Customization Options
Background
The embedded checkout component has a transparent background by default. ThebackgroundPrimary color only affects internal components (inputs, cards, etc.) within the iframe, not the iframe body itself.
To customize the overall background, wrap the component:
Custom Fonts
Load custom fonts using thefonts array:
Global Variables
Control the overall look and feel:Component Rules
Input Visibility
Input Visibility
Control the visibility of specific inputs:
When hiding inputs, make sure to provide the corresponding values via props:
- For hidden
DestinationInput, providerecipient.walletAddress - For hidden
ReceiptEmailInput, providepayment.receiptEmail
Labels
Labels
Customize label styling:
Input Fields
Input Fields
Style input fields:
Tabs
Tabs
Customize tab appearance:

