PrimerTheme and required CompositionLocal providers. Renders SDK components inline rather than in a modal bottom sheet. Overlay sheets for 3DS and redirect flows are handled automatically.
Signature
There is no
onEvent callback. With the inline host you build your own result UI —
observe checkout.state
for PrimerCheckoutState.Success / PrimerCheckoutState.Failure and render accordingly.Parameters
What it provides
- PrimerTheme — applies design tokens so child components inherit your styling
- CompositionLocal providers — injects checkout context so
remember*Controller()functions work - Overlay management — renders overlays for 3DS challenges and redirect flows automatically
PrimerCheckoutHost, SDK components like PrimerCardForm and PrimerPaymentMethods will not function.