Skip to main content

Avatars

Please refer to MUI's official docs for more details on component's usage guide and API documentation.

Image Avatars

Use src and alt props with Avatar component for basic image avatar.

Victor Anderson
Alice Cobb
Jeffery Warner


Letter Avatars

Write some letters inside Avatar component to have letter avatar. Use our custom component for colored avatar and use skin='light' prop for light variant with opacity and skin='light-static' prop for light variant without opacity.

H
N
OP
AB


Sizes

You can set any size of an avatar using styled hook.

Victor Anderson
Victor Anderson
Victor Anderson


Icon Avatars

Pass an icon as a child of Avatar component to make an icon avatar.



Variants

Use variant={'square' | 'rounded'} prop with Avatar component for different variants.



Avatars With Badge

Use Avatar component as a child of Badge component.

Marie Garza
Olivia Sparks
Marie Garza


Grouped Avatars With PullUp

Use class pull-up with AvatarGroup component for pull-up effect on hover of the avatar.

+2
Hallie Richards
Howard Lloyd
Olivia Sparks


Grouped Avatars With PullUp & Tooltip

Use class pull-up with AvatarGroup component and wrap your Avatar with Tooltip for pull-up effect & tooltip on hover of the avatar.

+2
Hallie Richards
Howard Lloyd
Olivia Sparks


Grouped Avatars Alignment

Wrap all your avatars with AvatarGroup component to have grouped avatars. Use max prop with AvatarGroup component to restrict maximum number of avatars shown.

+2
Hallie Richards
Howard Lloyd
Olivia Sparks
+2
Hallie Richards
Howard Lloyd
Olivia Sparks
+2
Hallie Richards
Howard Lloyd
Olivia Sparks