Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

Avatar

Avatar is a component that displays a profile picture or an icon with initials representing a user.

Source@yamada-ui/avatar

ARIA Roles and Attributes

ComponentRole and AttributesUsage
Avatarrole="img"Indicates that it is an image.
nameThe name of the person represented by the avatar.
altAlternative text for the avatar image. If alt is not set, the value of name is used.
srcThe path to the avatar image.
aria-labelIf src is not set or the image has not loaded, the value of name is used. If name is not set, the value of alt is used, and if alt is not set,"Avatar Icon" is used.
AvatarGrouprole="group"Indicates that it is a group.

Edit this page on GitHub

PreviousFontawesome IconNextIndicator