This component extends the native <div>arrow-up-right API, for example, the title attribute.
<div>
title
children
string
β
size
'default' | 'small' | 'large'
β
status
'none' | 'online' | 'busy' | 'away' | 'ringing' | 'onCall' | 'onExternalCall' | 'recovery'
profilePic
icon
AvailableTeliconarrow-up-right
AvailableTelicon
showicon
boolean
shape
'circle' | 'square'
In this case, just a string is passed to the element. Normally, a full name, but only the initials are rendered.
The size prop handles the width and height of the avatar element.
The status prop controls the icon rendered inside the avatar component showing its state.
In case there is a profile picture, this can be passed a string and this will replace the avatar default initials.
To render a custom icon.
To hide default/custom icons.
To modify the avatar's shape. Choose between circled and squared.
Live Demo
Code Sandboxarrow-up-right
Last updated 1 year ago