# Participant Label

Stream's UI components include a participant label that displays each participant's name and microphone status:

![Participant Label](https://getstream.io/docs-assets/images/cab295c74497.png)

You can change the label style by passing `RegularVideoRendererStyle` or `ScreenSharingVideoRendererStyle` to UI components like `CallContent`, `ParticipantsLayout`, and `ParticipantVideo`.

```kotlin
CallContent( // or ParticipantsLayout
  style = RegularVideoRendererStyle(
      isShowingParticipantLabel = true,
      labelPosition = Alignment.TopStart
  ),
  ..
)
```

If you build the above styles, you will see the result below:

![Participant Label](https://getstream.io/docs-assets/images/998b16b12fb0.png)

## Customization

You can customize the participant label by implementing your own label composable function to the `ParticipantVideo` like the sample below:

```kotlin
CallContent(
    modifier = Modifier.background(color = VideoTheme.colors.baseSheetPrimary),
    videoRenderer = { modifier, call, participant, style ->
        ParticipantVideo(
            modifier = modifier,
            call = call,
            participant = participant,
            style = style,
            labelContent = { participant ->
                Box(
                    modifier = Modifier
                        .padding(12.dp)
                        .align(Alignment.BottomStart)
                        .background(
                            Color.Black.copy(alpha = 0.5f),
                            RoundedCornerShape(16.dp)
                        )
                        .padding(horizontal = 12.dp, vertical = 6.dp)
                ) {
                    val userNameOrId by participant.userNameOrId.collectAsState()
                    Text(
                        text = userNameOrId,
                        color = Color.White
                    )
                }
            }
        )
    },
    ..
```

If you build the example, you'll see the result below:

![Participant Label](https://getstream.io/docs-assets/images/7e455ae4b341.png)

---

For the most recent version of this documentation, visit [https://getstream.io/video/docs/android/ui-cookbook/participant-label/](https://getstream.io/video/docs/android/ui-cookbook/participant-label/).