Homecomponentsinformational
Avatar
A decorated photo of a person or business.
Use Avatar to show a visual representation of a user or business.
Image
Use the imageUrl property to provide the URL for the image.
A placeholder is shown if the image is not given.
Square
Round
Shape
Use the shape property to give shape to the avatar.
Square
Round
Size
Use the size property to control the size of the avatar.
Square
xlarge
large
medium
small
xsmall
Round
xlarge
large
medium
small
xsmall
Presence
Use the presence property to show the online status of the avatar. If there is no imageUrl, this property does not do anything.
Online
Offline
Premium
Use the premium property to indicate this is a premium user.
Premium
Premium
Premium
Premium
Unoptimized images
Use the unoptimized property to disable Next.js image optimization.
Examples
Avatar with textual information
A typical use of the Avatar is to display user name with it.
Jemma Miles
@mileyritesAPI
shape
Required
round
square
imageUrl
string
altText
string
size
medium
large
small
xlarge
xsmall
presence
online
offline
premium
true
false
unoptimized
true
false
data
DataAttributeMap