Skip to canvas
Storybook
/
defaultSkip to canvas
shape
with-image
custom-text
custom-color
sizes
  1. Recently opened
  2. Back to componentsESC
  3. Clear history
Skip to sidebar
This story is not configured to handle controls. Learn how to add controls
NameDescriptionDefaultControl
src
The address of the image for an image avatar or image element
string
--
alt
This attribute defines the alternative text describing the image
string
"avatar"
-
text
Alternative text to show if src is not provided
string
--
shape
The shape of the avatar
"square""circle"
--
size
The size of the avatar
"sm""md""lg"
--
color
Color of the avatar as a string in case src is not used
string
--