Avatar

Avatar component is used to display user or entity avatar images.

Sizes

Supports five sizes: Xs, Sm, Md, Lg, Xl.

Shape Variants

Supports three shapes: Circular, Rounded, Square.

Text Fallback

When no image is available, displays initials or custom text.

API

Props

PropertyDescriptionTypeDefault
srcImage URLOption<String>None
altAlt textString-
sizeSizeAvatarSizeMd
variantShape variantAvatarVariantCircular
fallbackFallback textOption<String>None