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"
}
}
}
}
}}
Quick Start
The checkout UI can be customized using theappearance prop:
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 Customization
The embedded checkout component has a transparent background by default. ThebackgroundPrimary color in the appearance configuration only affects internal components (inputs, cards, etc.) within the iframe, not the iframe body itself.
To customize the overall background, wrap the component in a div with your desired background styling:
Solid Background Colors
Remember that the
backgroundPrimary color in your appearance configuration should complement your wrapper
background for the best visual result.Custom Fonts
Load custom fonts using thefonts array:
Global Variables
Control the overall look and feel with these global variables: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:

