Avatar
The Avatar component is used to represent a user. It displays a profile picture, or falls back to the user's initials if a profile pic is not provided.
- On this page
Properties
title (required)
The title or name to be used in the avatar.
string
color
The theme color for the avatar. This property controls the border and glow colors for the component.
"purpleCyan" | "yellowPink" | "cyanGreen" | "pinkPurple" | "cyan" | "green" | "orange" | "pink" | "purple" | "red" | "yellow" | "white" | "black" | "blackSecondary" | "blackLight"
variant
The variant property allows for consumers to choose from a regular avatar, or a subtle variation.
"normal" | "subtle"
borderVariant
Allows for controlling the border of the avatar. `large` -> to use a thicker border. `none` -> hides the border.
"normal" | "large" | "none"
src
Sets the source for the profile picture.
string