Avatar

People round with initials or a picture; organizations and projects at radius 6; agents as a bot face on a square.

View source
AAOAOAOAONNLNLNL
import { Avatar } from "@logicplanes/kaeso-ui";

Props

  • agent
    { name: string; model: string; }

    The agent that acted for this person, with its name and model family id from the API: a badge of about 40% of the avatar on its corner, and the family in the accessible name, such as Ada Okafor via Release helper (Claude).

  • decorative
    boolean

    Hides it from assistive technology when the same information is already written next to it.

  • kind
    "person" | "agent" | "org" = person

    A person (round), an organization (a cut square), or an agent (a bot face on a cut square).

  • name
    string

    The person's, organization's or agent's name; its first letters show without a picture, and it is the accessible name.

  • size
    24 | 20 | 28 | 32 | 40 = 24

    The diameter in pixels.

  • src
    string

    The picture's address; without one, or when it fails to load, the letters show.