Avatar
Avatars are found throughout material design with uses in everything from tables to dialog menus.
code
Expend code
#Letter
code
Expend code
#Icons
code
Expend code
Avatar
the properties of the avatar component used to display the user's profile picture or icon.
Prop | Type | Default | Description |
---|---|---|---|
src | string | - | URL of the image to display on the avatar. |
alt | string | - | Alternative text to display when the image does not load. |
className | string | - | CSS class for additional styling. |
children | React.ReactNode | - | If you don't have an image, include your initials or an icon to display within your avatar. |