mango-components@1.1.0 (f664980)

Avatar

Avatar Params

  • name
  • backgroundImage
  • size (width, height, line-height)
  • fontSize

<Avatar />


<Avatar name="lorem ipsum"/>

background-color based on name

F
F
T
J
R
H
R
K

<Avatar backgroundImage="https://placeimg.com/100/100/animals"/>


<Avatar width="250px" fontSize="97px"/>

C