BalanceReckon Design System
Feedback & indicatorsAvatar

Avatar

Avatars are used to show a thumbnail representation of an individual or business in the interface.

UserAvatarProps

PropTypeRequiredDefaultDescription
cssnever——Does not support css.
disableddeprecatedboolean———
guestboolean——Signal to the user that this avatar is less significant e.g "guest user"
inactiveboolean——Signal to the user that this avatar is in some way not available.
namestringYes—The name of the person represented by the avatar.
sizeAvatarSizeType—mediumThe size of the avatar. Prefer a token; pass exact dimensions only for a design the scale has no size for.

EntityAvatarProps

PropTypeRequiredDefaultDescription
cssnever——Does not support css.
disableddeprecatedboolean———
guestboolean——Signal to the user that this avatar is less significant e.g "guest organisation"
inactiveboolean——Signal to the user that this avatar is in some way not available.
namestringYes—The name of the entity, note that only the first letter will be rendered.
sizeAvatarSizeType—mediumThe size of the entity. Prefer a token; pass exact dimensions only for a design the scale has no size for.
type
Organisation|Person
Yes—Define the type of entity this avatar represents.

InstanceProps

PropTypeRequiredDefaultDescription
colorstring——The color of the instance.
cssnever——Does not support css.
disableddeprecatedboolean———
guestboolean——Signal to the user that this avatar is less significant
iconComponentType<IconProps>——The icon to place in the instance
inactiveboolean——Signal to the user that this avatar is in some way not available.
namestring——The name of the instance, note that only the first letter will be rendered.
sizeSizeType
xsmall|small|medium|large|xlarge
—mediumThe size of the instance. Tokens only: the icon inside is sized from this, and the icon scale has no equivalent for an arbitrary box.