Skip to Content

Avatar

A circular identification element that prominently showcases the user's customized profile picture or their first and last name initials.

import * as React from 'react';
import { Avatar, getUserColor } from '@itwin/itwinui-react';

const imgSrc =
  'data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMvaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA5LjAtYzAwMCA3OS5kYTRhN2U1ZWYsIDIwMjIvMTEvMjItMTM6NTA6MDcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCAyMDIzIE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBMjIwM0I4MzlGNDMxMUVEQTc1MkVFQUU4NDhBOTQyQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBMjIwM0I4NDlGNDMxMUVEQTc1MkVFQUU4NDhBOTQyQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkEyMj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AAAAAAAAAAAAAAAAABa+ON6Ue1HJsVEXvmYmYMGmucjZKuq+s4Bh029Xe37WFa111q3jJa6jMjda3fLGEPezBsIYxrGWcLWNRGta2NqIiJoRNCGOvf5pV0+TaOZxnKy//AIwsucAwO6t5Le5w+3mgmarJYpImOa5rtCtcippRTMajMjdae9tl+U6SlotXKpFo3Tyxi8trkvJ9o9slrgdhBI1d5r47WFrkVFrVFRtRbUZk77T3u/CG4axjEo1qNTYiUIpmZZwVMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//2Q==';

export default () => {
  return (
    <Avatar
      abbreviation='RR'
      backgroundColor={getUserColor('Robbie Robot')}
      image={<img src={imgSrc} alt='' />}
      title='Robbie Robot'
      size='x-large'
    />
  );
};

The avatar is an essential UI component, making it easier to identify a person or organization by their photo, icon, or initials.

Usage

Different props can be passed to the <Avatar> component to customize it according to the user’s needs.

  • image prop can be passed to set a custom image source or icon that will be displayed within the avatar.
  • abbreviation prop can be passed to set a short abbreviation or initials that will be displayed when image is not available.
import * as React from 'react';
import { Avatar, getUserColor } from '@itwin/itwinui-react';
import { SvgUser } from '@itwin/itwinui-icons-react';

const imgSrc =
  'data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMvaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//2Q==';

export default () => {
  return (
    <div className='demo-container'>
      <Avatar
        abbreviation='TR'
        backgroundColor={getUserColor('Terry Rivers')}
        title='Terry Rivers'
        size='x-large'
        status='online'
      />
      <Avatar
        abbreviation='AU'
        backgroundColor={getUserColor('Anonymous user')}
        image={<SvgUser aria-hidden='true' />}
        title='Anonymous user'
        size='x-large'
        status='away'
      />
      <Avatar
        abbreviation='RR'
        backgroundColor={getUserColor('Robbie Robot')}
        image={<img src={imgSrc} alt='' />}
        title='Robbie Robot'
        size='x-large'
        status='busy'
      />
    </div>
  );
};

Sizes

Avatars can be displayed in various sizes including small, medium, large, and x-large.

import * as React from 'react';
import { Avatar, getUserColor } from '@itwin/itwinui-react';

export default () => {
  return (
    <div className='demo-container'>
      <Avatar
        abbreviation='TR'
        backgroundColor={getUserColor('Terry Rivers')}
        size='small'
        title='Terry Rivers'
      />
      <Avatar
        abbreviation='RM'
        backgroundColor={getUserColor('Robin Mercer')}
        size='medium'
        title='Robin Mercer'
      />
      <Avatar
        abbreviation='MV'
        backgroundColor={getUserColor('Morgan Vera')}
        size='large'
        title='Morgan Vera'
      />
      <Avatar
        abbreviation='JM'
        backgroundColor={getUserColor('Jean Mullins')}
        size='x-large'
        title='Jean Mullins'
      />
    </div>
  );
};

Status indicators

Status indicators are indicators that display in the bottom right of the avatar. Statuses can be set using the status prop. The available statuses are:

  • online
  • away
  • busy
  • offline

We suggest not using statuses on the small size avatar.

import * as React from 'react';
import { Avatar, getUserColor } from '@itwin/itwinui-react';

export default () => {
  return (
    <div className='demo-container'>
      <Avatar
        abbreviation='TR'
        backgroundColor={getUserColor('Terry Rivers')}
        title='Terry Rivers'
        size='x-large'
        status='online'
      />
      <Avatar
        abbreviation='RM'
        backgroundColor={getUserColor('Robin Mercer')}
        title='Robin Mercer'
        size='x-large'
        status='away'
      />
      <Avatar
        abbreviation='JM'
        backgroundColor={getUserColor('Jean Mullins')}
        title='Jean Mullins'
        size='x-large'
        status='busy'
      />
      <Avatar
        abbreviation='AM'
        backgroundColor={getUserColor('Ashley Miles')}
        title='Ashley Miles'
        size='x-large'
        status='offline'
      />
    </div>
  );
};

AvatarGroup

Avatars can be displayed in a list to represent a group of people using the <AvatarGroup> component. This visual treatment reinforces the fact that these people work together and/or share similar permissions to access/view/edit a file or a project.

By default, the avatars will overlay each other to save space. This can be turned off by setting stacked={false} if needed.

Note that when using the stacked group, you can not display status indicators.

import * as React from 'react';
import { AvatarGroup, Avatar, getUserColor } from '@itwin/itwinui-react';

export default () => {
  return (
    <AvatarGroup iconSize='x-large'>
      <Avatar
        abbreviation='TR'
        backgroundColor={getUserColor('Terry Rivers')}
        title='Terry Rivers'
      />
      <Avatar
        abbreviation='RM'
        backgroundColor={getUserColor('Robin Mercer')}
        title='Robin Mercer'
      />
      <Avatar
        abbreviation='MV'
        backgroundColor={getUserColor('Morgan Vera')}
        title='Morgan Vera'
      />
      <Avatar
        abbreviation='JM'
        backgroundColor={getUserColor('Jean Mullins')}
        title='Jean Mullins'
      />
      <Avatar
        abbreviation='AM'
        backgroundColor={getUserColor('Ashley Miles')}
        title='Ashley Miles'
      />
    </AvatarGroup>
  );
};

Animated Stack

You can also have the stacked group animate to unstacked on hover by passing the animated prop. When doing this, be sure to pay close attention to unintentionally shifting other content on the page.

import * as React from 'react';
import { AvatarGroup, Avatar, getUserColor } from '@itwin/itwinui-react';

export default () => {
  return (
    <AvatarGroup animated iconSize='x-large'>
      <Avatar
        abbreviation='TR'
        backgroundColor={getUserColor('Terry Rivers')}
        title='Terry Rivers'
      />
      <Avatar
        abbreviation='RM'
        backgroundColor={getUserColor('Robin Mercer')}
        title='Robin Mercer'
      />
      <Avatar
        abbreviation='MV'
        backgroundColor={getUserColor('Morgan Vera')}
        title='Morgan Vera'
      />
      <Avatar
        abbreviation='JM'
        backgroundColor={getUserColor('Jean Mullins')}
        title='Jean Mullins'
      />
      <Avatar
        abbreviation='AM'
        backgroundColor={getUserColor('Ashley Miles')}
        title='Ashley Miles'
      />
    </AvatarGroup>
  );
};

Overflow

By default a maximum of five avatars will be shown within a group. Additional avatars are hidden; however, the number of hidden items will be displayed in the last avatar circle as shown below.

import * as React from 'react';
import { AvatarGroup, Avatar, getUserColor } from '@itwin/itwinui-react';

export default () => {
  return (
    <AvatarGroup iconSize='x-large'>
      <Avatar
        abbreviation='TR'
        backgroundColor={getUserColor('Terry Rivers')}
        title='Terry Rivers'
      />
      <Avatar
        abbreviation='RM'
        backgroundColor={getUserColor('Robin Mercer')}
        title='Robin Mercer'
      />
      <Avatar
        abbreviation='MV'
        backgroundColor={getUserColor('Morgan Vera')}
        title='Morgan Vera'
      />
      <Avatar
        abbreviation='JM'
        backgroundColor={getUserColor('Jean Mullins')}
        title='Jean Mullins'
      />
      <Avatar
        abbreviation='AM'
        backgroundColor={getUserColor('Ashley Miles')}
        title='Ashley Miles'
      />
      <Avatar
        abbreviation='TR'
        backgroundColor={getUserColor('Terry Rivers')}
        title='Terry Rivers'
      />
      <Avatar
        abbreviation='RM'
        backgroundColor={getUserColor('Robin Mercer')}
        title='Robin Mercer'
      />
      <Avatar
        abbreviation='MV'
        backgroundColor={getUserColor('Morgan Vera')}
        title='Morgan Vera'
      />
      <Avatar
        abbreviation='JM'
        backgroundColor={getUserColor('Jean Mullins')}
        title='Jean Mullins'
      />
      <Avatar
        abbreviation='AM'
        backgroundColor={getUserColor('Ashley Miles')}
        title='Ashley Miles'
      />
      <Avatar
        abbreviation='TR'
        backgroundColor={getUserColor('Terry Rivers')}
        title='Terry Rivers'
      />
      <Avatar
        abbreviation='RM'
        backgroundColor={getUserColor('Robin Mercer')}
        title='Robin Mercer'
      />
      <Avatar
        abbreviation='MV'
        backgroundColor={getUserColor('Morgan Vera')}
        title='Morgan Vera'
      />
      <Avatar
        abbreviation='JM'
        backgroundColor={getUserColor('Jean Mullins')}
        title='Jean Mullins'
      />
      <Avatar
        abbreviation='AM'
        backgroundColor={getUserColor('Ashley Miles')}
        title='Ashley Miles'
      />
    </AvatarGroup>
  );
};

Additionally, you could display a tooltip on hover, a dialog on click, or perhaps a dropdown menu of the hidden users. Implementation of these options depends on the purpose of the page and the use case.

The example below displays a tooltip of all hidden avatars. It also uses the property maxIcons to limit the number of visible avatars to three.

import * as React from 'react';
import {
  AvatarGroup,
  Avatar,
  getUserColor,
  Tooltip,
} from '@itwin/itwinui-react';

export default () => {
  const userNames = [
    'Terry Rivers',
    'Robin Mercer',
    'Morgan Vera',
    'Ashley Miles',
    'Jean Mullins',
    'Charlie Mayfield',
    'Peyton Pennington',
    'Justice Harrington',
    'Alex Gonzales',
    'Jordan Baker',
  ];

  /**
   * Ref is set on the last avatar for tooltip positioning.
   */
  const [avatarRef, setAvatarRef] = React.useState(null);

  const maxIcons = 3;
  const arrayLength = maxIcons;
  const usersSubArray = userNames.slice(arrayLength);
  const tooltipContent = usersSubArray.join(`\n`);

  return (
    <>
      <AvatarGroup
        iconSize='x-large'
        maxIcons={maxIcons}
        countIconProps={{ ref: setAvatarRef }}
      >
        {userNames.map((name, index) => (
          <Avatar
            key={`${name}-${index}`}
            abbreviation={name
              .split(' ')
              .map((token) => token[0])
              .join('')}
            backgroundColor={getUserColor(name)}
            title={name}
          />
        ))}
      </AvatarGroup>
      <Tooltip
        reference={avatarRef}
        content={tooltipContent}
        placement='right'
        style={{ whiteSpace: 'pre' }}
      />
    </>
  );
};

Props

Avatar

Prop Description Default
size
Size of an avatar.
"small" | "medium" | "large" | "x-large"
'small'
status
Status/Availability of a user.
AvatarStatus
title
Text which will appear when hovering over the icon.
string
abbreviation
Abbreviation to be displayed.
string
image
User image to be displayed. Can be <img> or <svg> or anything else.
Element
backgroundColor
Color of the icon. You can use getUserColor function to generate color from user name or email. If not provided, default background color from CSS styling will be used (hsl(72, 51%, 56%) / olive green).
"skyblue" | "celery" | "froly" | "steelblue" | "sunglow" | "seabuckthorn" | "montecarlo" | "poloblue" | "bouquet" | "ash" | "oak" | AnyString
translatedStatusTitles
Translated status messages shown on hover.
StatusTitles
as
"symbol" | "object" | "span" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | ... 159 more ... | FunctionComponent<...>

AvatarGroup

Prop Description Default
maxIcons
Max number of avatars unstacked.
number
5
stacked
If true, group will be stacked to take less space.
boolean
true
animated
If true, group will be animated on hover.
boolean
false
iconSize
Size of avatars and count avatars.
"small" | "medium" | "large" | "x-large"
'small'
children
Avatars in the group.
ReactNode
countIconProps
Count Avatar props.
Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & { ref?: Ref<HTMLDivElement>; }
as
"symbol" | "object" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | ... 158 more ... | FunctionComponent<...>