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:
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:
Primary Buttons
Primary Buttons

