Skip to main content
Version: Next

AvatarProps

Home > @backstage/core-components > AvatarProps

Properties for Avatar().

Signature:

export interface AvatarProps 

Properties

Property

Modifiers

Type

Description

classes?

{ [key in 'avatar' | 'avatarText']?: string; }

(Optional) Custom styles applied to avatar

customStyles?

CSSProperties

(Optional) Custom styles applied to avatar

displayName?

string

(Optional) A display name, which will be used to generate initials as a fallback in case a picture is not provided.

picture?

string

(Optional) URL to avatar image source