Avatar

The Avatar component is a subcomponent that is part of all preset themes. It is used to render a user's profile picture.

Props

Our preset themes pass the following props to the Avatar component. You can change the props it receives by updating the places in the theme where the component is invoked.

NameTypeDescription
photoUrlstringThe conversation being rendered
float"left" | "right"Whether to float the avatar left or right

Available system components

The Avatar subcomponent is used in multiple places within the theme. The available system components depend on the top-level component that renders it. The only system components that are always available are globally available system components.