ClerkHostBackActionProvider
Supplies the back affordance for the root screen of a Clerk component embedded in a host's own navigation (for example Clerk's Expo SDK, or an app pushing the component onto its own back stack).
The component keeps its own top app bar, so screen titles, back buttons, and transitions inside the component stay native. Only the root back button belongs to the host: at the component's root screen it is shown in place of nothing and invokes onHostBack, which should pop the host's navigation.
Wrap the component to enable it:
ClerkHostBackActionProvider(onHostBack = { navController.popBackStack() }) {
UserProfileView()
}Content copied to clipboard
This surface exists for Clerk's own framework integrations and may change without notice in minor releases.