Skip to main content Link Search Menu Expand Document (external link)

Badge

The Afterpay badge is a simple UIView that can be scaled to suit the needs of your app. As per branding guidelines it has a minimum width constraint of 64 points.

let badgeView = BadgeView()

// optionally set a color scheme
lockupView.colorScheme = .dynamic(lightPalette: .blackOnMint, darkPalette: .blackOnWhite)

Below are examples of the badge in each of the color schemes:

Black on Mint badge Mint on Black badge

White on Black badge Black on White badge