Skip to main content

Avatar

Display user profile images & fallbacks, built on Base UI.

View as Markdown

Installation

Component API

PropTypeDefaultDescription
childrenReactNode-Drawn inside the avatar, in place of an image or initials.
Drawn inside the avatar, in place of an image or initials.
srcstring-
namestring-
fallbackReactNode-
statusnone | online | offline | busynone
badgebooleanfalse
badgeIconReactNode-
badgeLabelstringVerifiedThe badge's accessible name.
The badge's accessible name.
sizesm | md | lgmdDiameter, and the size of the initials or icon inside it.
Diameter, and the size of the initials or icon inside it.
classNamestring-