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 define the PrimerTheme object, then pass it in as an argument when configuring the SDK.
SWIFT

Custom Colors

Access the colorTheme property to add custom colors.
SWIFT

Rounded Corners

Update the cornerRadiusTheme to change the corner radius of different components.
SWIFT