UserProfileSheet

fun UserProfileSheet(client: FeedbackClient, userId: String, onDismiss: () -> Unit)(source)

Interactive Modal Bottom Sheet displaying a public user profile.

Asynchronously retrieves user profile data via FeedbackClient.fetchUserProfile and displays:

  • Avatar, display name, account age, bio, and personal website link

  • Showcase of public apps owned by the user

  • Recent public comments across requests (respecting privacy settings)

Example Usage

@Composable
fun ProfileModal(client: FeedbackClient, userId: String, onDismiss: () -> Unit) {
UserProfileSheet(
client = client,
userId = userId,
onDismiss = onDismiss
)
}

Parameters

client

Shared FeedbackClient used to load the user profile.

userId

Unique user identifier (e.g. Clerk user ID).

onDismiss

Callback invoked to close the profile bottom sheet.