Skip to main content
  1. Docs
  2. Components
  3. Data display

Avatar

A person, or an organisation, application or tenant: their photo or logo, or their initials.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<span role="img">Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

0.4.0

  • status={{ label, tone }}: a round dot on the bottom-end corner in Badge's tones, 8 to 14px with the size, cut out of the avatar with a 2px gap. The avatar is named "Priya Sharma, Online". Types AvatarStatus and AvatarStatusTone.
  • AvatarItem's name and description wrap instead of ending in an ellipsis, so neither is cut.

02

0.2.0

  • A company's legal form doesn't count towards its initials: "Acme Pvt Ltd" is AC.

03

0.1.0

  • shape: "circle", or "square" for organisations, applications and tenants.

04

0.0.6

  • Initials are centred on the capitals' own height, not the font's room for descenders.

05

0.0.2

  • Avatar: a circle with the photo, or initials while it loads or when it fails.

Every change to @qeetrix/react

Next — Data displayAvatar group