ema-avatar
Overall
Show profile image as a user's avatar.
TODO: Support placeholder image
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
label |
label |
string |
"" | Placeholder text of the inner img. |
shape |
shape |
"square" | "rounded" | "circle" |
"circle" | Shape type. |
src |
src |
string |
"" | URL for an image. |
CSS Custom Properties
Property | Default | Description |
---|---|---|
--ema-c-avatar-size |
"40px" | Height and width. |