Avatar

Avatars are used to show a thumbnail representation of users.

Basic

Default avatar used to present a supplier or customer.

LT
LT
LT

Avatar with image

Used when a supplier or customer has uploaded an avatar image.

Colors

The color of an avatar is automatically generated based on the name provided. You can also manually override the color with color prop.

LT
SN
DL
KT
AF

Props

  • color 'green' | 'red' | 'blue' | 'purple' | 'yellow'

    The color used for the avatar

  • size 'xsmall' | 'small' | 'medium'

    The size of the avatar

  • src string

    The src attribute of the image. When it's not available, render initials instead