Code
Last updated
Last updated
children
string
✅
className
string
❌
size
string
(Default, Small, Large)
❌
status
string
(Online, Busy, Away, Ringing, OnCall, OnExternalCall, Recovery, Offline)
❌
altStatusText
string
❌
profilePic
string
❌
tooltip
boolean
❌
If the Avatar
component is not receiving a profilePic URL, it will show the username initials and a color background based on the username string. This default setting means that the background color will always be the same for a specific username, and it should not display different colors in re-renders.
No profilePic url facilitated
Working profilePic url
For this component elaboration, the following internal components were used:
For detailed code usage documentation, see the Storybooks for each framework below.