Avatars
Avatars are used to display users’ profile images. There are two typse of avatars: ones with just the avatar, and ones with titles.
The table below shows the following avatar examples and its properties.
NOTE
Unfortunately these references are images so note that on theme dark that the tooltips and the titles need to change to a lighter colour text and background colour for the tooltip.
Avatar only
States | :app-avatar-large Size: 120px |
:app-avatar-thumb Size: 48px |
:app-avatar-icon Size: 32px |
---|---|---|---|
:passive | |||
:hover | |||
:focus |
Avatar with titles
States | :app-avatar-large Size: 120px |
:app-avatar-thumb Size: 48px |
:app-avatar-icon Size: 32px |
---|---|---|---|
:avatar-titles-vertical | |||
:avatar-titles-horizontal |
Usage
Avatars are used to show the user’s profile. If the user does not provide a photo, Codebots usually generates one for them.
Type | Use |
---|---|
Avatar only | Used for areas where it is not required to show the description of the avatar/user. Often used in most places apart from user profile. |
With text | Used for areas where description of the user is required to know their name and role. |