Skip to content

@checkout-kit/ui / CheckoutAppearance

Interface: CheckoutAppearance ​

Properties ​

PropertyTypeDescription
accent?stringThe whole brand. Hover, pressed, subtle and focus are derived from it in CSS.
accentContrast?stringOnly when your brand's accent is light: what text on top of it should be.
border?string-
buttonRadius?string | numberButtons only - a pill button with square inputs is a deliberate look.
controlBorder?stringBorder of editable controls and unchecked radio/checkbox markers.
controlHeight?string | numberHeight of the buttons and inputs.
danger?string-
dangerContrast?string-
density?"comfortable" | "compact"compact tightens the gaps and the controls, for an embedded or WebView checkout.
focusRing?stringThe focus ring, when the accent is not the right colour against your surfaces.
font?string-
fontMono?string-
radius?string | numberThe corner radius of the large controls. The smaller radii scale from the same idea.
success?string-
surface?string-
surfaceRaised?string-
surfaceSunken?string-
text?string-
textMuted?string-

Apache-2.0 · Headless engine, provider adapters and runnable examples.