← All proposals

Avatar Label

The PDS v2 AvatarLabel (src/components/identity/AvatarLabel, branch v2.x) with every Avatar replaced by the Agent Avatar proposal.

Net-new componentOpen in Storybook

proposals/AvatarLabel/context.md23 lines · View on GitHub

Avatar Label

Problem

Activity logs, threads and lists show who did something. For an agent, that is the Agent Avatar next to the agent's name. PDS Avatar Label pairs a human Avatar with a label; it needs the agent version.

Proposal

The PDS v2 AvatarLabel (src/components/identity/AvatarLabel, branch v2.x) with every Avatar replaced by the Agent Avatar proposal. Same props, sizes (xs, s, m), link behavior and a11y; avatarProps now takes Agent Avatar props (label required, iconName, hasHalo).

Constraints

  • Tokens only; light and dark.
  • Keep PDS Avatar Label's API otherwise, so the port is a diff against it.

Source

PDS v2 Avatar Label and the Agent Avatar proposal. No Figma or Jira links yet.

Attribution

An agent often acts for a person. An optional attribution shows that after the name: "Zappy on behalf of alex@example.com" (from the design brief).