Skip to main content
This guide is designed to help you style our default Universal Checkout UI. If you would like to build your own UI from scratch then check out our Headless Universal Checkout guide.

Localization and languages

Universal Checkout supports multiple languages out of the box, enabling you to adapt its UI to the relevant market.
Universal Checkout uses the device language by default. If this language is not supported, Universal Checkout automatically falls back to English.

Supported locales

Right-to-left

Universal Checkout automatically switches to a right-to-left layout when necessary.

Theme

To customize the appearance of the SDK, pass a theme mapping under uiOptions in PrimerSettings, for example:
JSON
Minimally, you can set only mainColor and background to achieve a basic two-tone theme. Other properties can be used to override specific styles: