Skip to main content
v0.1 dev

Component 39 · Data display

Avatar

Represent a user, cow, farm, or device identity.

implementedPhase 3stable

Overview

Represent a user, cow, farm, or device identity. It converts domain state into an understandable, traceable and accessible interface contract.

When to use

Use HE/Avatar when you need to represent a user, cow, farm, or device identity. Keep its role distinct from transport freshness, animal-health severity and model confidence.

Example

Atlantic · interactive specimen
18JA
<div class="he-auto-cluster"><span class="he-avatar" role="img" aria-label="Cow 1842">18</span><span class="he-avatar" role="img" aria-label="Jebin Abraham">JA</span></div>

Anatomy

1Identity
2Primary value
3State
4Evidence or action

Anatomy stays identical in Pasture and Atlantic. A responsive layout may wrap or stack parts, but reading order and focus order remain equivalent.

Variants and states

Variants

imageinitialsiconcowMarkdevice

States

defaultloadingfallback

Accessibility

Decorative avatars use empty alt text; identity-only avatars use the entity name.

  • Maintain a visible keyboard focus indicator and a logical focus sequence.
  • Never rely on colour alone for operational, freshness or severity state.
  • Keep touch targets at least 44 × 44 px unless the target is an inline text link.

Cross-platform contract

SurfaceCanonical nameStatus
FigmaHE/Avatarstable
Web.he-avatarimplemented
FlutterHeAvatarimplemented
Token rootcomponent.avatargenerated