Platform docs
Auth, users, webhooks & more

User Avatar

The user avatar is available as a standalone component, that you can use in your custom UI. The SwiftUI view is called UserAvatar and it's created with the image URL and the size.

Here's an example usage:

var body: some View {
    VStack {
        UserAvatar(imageURL: participant.profileImageURL, size: 40)
        SomeOtherView()
    }
}

The view has a circled shape. If that does not fit your UI requirements, you can easily build your own view, by using the native StreamLazyImage.

Add Chat to my app: getstream.io/SKILL.md

The fastest way to build with Stream. Start a new project or improve an existing one. Full CLI and documentation integration out of the box.


Ask your agent:

/stream Build me a Social App with Feeds and Moderation.
/stream Any livestream calls running?
/stream Video iOS v1: <Your Question>