Skip to main content
Checkout the Crossmint Playground to play with a live demo and theming options!
Customize the style of the embedded checkout by adding a uiConfig object to the CrossmintPaymentElement:
If you are only displaying Google Pay and Apple Pay, the card form is not required. To hide it, you can set hideCardForm to true.

Themes

Explore the following templates:

Property Reference

object

Background Color

string
Sets the background color of the checkout element.
string
Sets the background color of the input fields.
string
Sets the background color of the payment button.

Text Color

string
Sets the color of the text on the input labels, placeholders, and terms of service.
string
Sets the color of the text on the payment button.
string
Sets the color of the input field borders when active.
string
Sets the color of the input field borders and error messages that appear when there is an error.

Typography

string
Sets the font size for all text elements. The default value is 0.91rem.
string
Sets the font weight of all the input placeholders.
string
Sets the font weight of all input labels.

Input Fields

string
Sets the height of all input fields. The default value is: 0.274rem.
string
Sets the border radius of all input fields.