@activelylearn/material-ui
Version:
Material-UI's workspace package
26 lines (14 loc) • 595 B
Markdown
components: Avatar
# Avatars
Avatars are found throughout material design with uses in everything from tables to dialog menus.
## Image avatars
Image avatars can be created by passing standard `img` props `src` or `srcSet` into the component.
{{"demo": "pages/demos/avatars/ImageAvatars.js"}}
## Icon avatars
Icon avatars are created by passing an icon as `children`.
{{"demo": "pages/demos/avatars/IconAvatars.js"}}
## Letter avatars
Avatars containing simple characters can be created by passing your string as `children`.
{{"demo": "pages/demos/avatars/LetterAvatars.js"}}