Skip to content
Component passports token-kit

Avatar

Avatar — someone's photo, or their initials. Never a generic silhouette: forty identical grey heads say "unknown person" forty times, where initials tell the rows apart at a glance and read plainly as

Evidence

What the kit's own checks measured on this component, from their committed records. A result is what was found, not a certificate.

CheckWhat it measuresResultWhen
Contrastevery text and boundary pair labelled with its elements, in every pack, surface and density the fixture holds28 pairs, 0 failed; closest 15.65:1 for avatar/initials (mohave / default / default), needs 4.5:12026-11-27
Controlsevery prop reachable from a story's controls4 stories opened; none flagged2026-11-28
Radiuscorner radii from the kit's scale only4 stories opened; none flagged2026-11-28
Attributesonly valid data-tk attributes and values4 stories opened; none flagged2026-11-28
Titleseach story has a heading and a title4 stories opened; none flagged2026-11-28
Accessibility (axe)axe-core on each story, at desktop and phone width4 stories opened; none flagged2026-11-28
Reflow at 320pxeach story at 320px wide: no sideways scroll4 stories opened; none flagged2026-11-28
Forced colourseach story in Windows high contrast4 stories opened; none flagged2026-11-28
Reduced motioneach story with reduced motion: nothing keeps moving4 stories opened; none flagged2026-11-28
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called4 stories opened; none flagged2026-11-28
Right to lefteach story set right to left: nothing pushed off the page4 stories opened; none flagged2026-11-28
Text 40% longerevery text made about 40% longer: no words cut, no sideways scroll4 stories opened; none flagged2026-11-28
Design matches codethe Figma component laid over the rendered code, per skinAvatar: mean Δ 7.21, worst 10.69 over 6 skins2026-10-10
Figmawhere it is drawn in the Figma library1 component in the library; Code Connect linked; 2 Figma properties paired or decided
Tokensthe tk slots its CSS readsreads 7 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
nametextyesnot drawn
srctextnonot drawn
sizesm | md | lgnoAvatar.Size
shapecircle | squarenoAvatar.Shape
labeltextnonot drawn
decorativebooleannonot drawn

Tokens it reads

leading-tight, radius-full, radius-md, surface-inverse, text-inverse, tracking-normal, weight-semibold