UserProfileView
fun UserProfileView(clerkTheme: ClerkTheme? = null, customRows: List<UserProfileCustomRow> = emptyList(), customDestination: @Composable (String) -> Unit? = null, onDismiss: () -> Unit = {})
User profile view for managing account settings, security, and profile information.
Custom rows are inserted into the account screen based on their UserProfileCustomRowPlacement. When tapped, the matching customDestination composable is rendered. Custom destinations participate in the navigation back stack and survive activity recreation (e.g. rotation).
Parameters
clerkTheme
Optional theme customization for the user profile UI.
customRows
Custom rows to display on the profile account screen.
customDestination
Composable that renders the destination for a given route key. The route key matches UserProfileCustomRow.routeKey of the tapped row.
onDismiss
Callback when the user profile view is dismissed.