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

