Avatar is most often used to identify individual users or groups. Lens offers three variations on it:
AvatarUserdisplays the profile image, if there is one available, or the user's initials.
AvatarIcondisplays an icon as the avatar, which can be selected with the icon prop, and has the
Usericon as default.
AvatarIconconnected to it.
If you're an
Avatar as a clickable-target use
role="button". This will help with usability and accessibility.
User object as specified by Looker's SDK and produces an
Avatar. The minimum keys in object are
last_name. If the user in question has a blank image (Gravatar's default if the user hasn't yet selected a profile picture) the user's initials will be used instead of the image.
Has a default icon value of
User. That value can be specified by setting the
AvatarUser can have a specify a size. Possible values are
small is the default value. If you specify
AvatarUser will only display the first initial.
Avatars allow the developer to specify a color to use. Default Colors:
A combination of
secondaryIcon- icon used for secondary avatar. Default:
secondaryColor- color to use for secondary avatar border & icon. Default:
secondaryBg- color to use for secondary avatar background. Default: