howdy/ui/avatar
Avatars: a small round picture of a person, with initials when there is no picture or it fails to load.
avatar.avatar(src: user.photo_url, alt: "", initials: "AL")
avatar.initials("AL")
Give the image an alt describing the person, or "" when their name
is already written beside it.
Values
pub fn avatar(
src src: String,
alt alt: String,
initials initials: String,
) -> element.Element(msg)
pub fn avatar_class() -> css.Class
pub fn image_class() -> css.Class