Skip to main content

Avatar

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

View as Markdown

Installation

Component API

PropTypeDefaultDescription
srcstring-
namestring-
fallbackReactNode-
tintaccent | blue | mint | indigo | slate-
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.