{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "fayazara-robot-heads--robot-avatars-in-chat-list",
 "repo": "fayazara/robot-heads",
 "repo_url": "https://github.com/fayazara/robot-heads",
 "repo_slug": "fayazara-robot-heads",
 "title": "Use small robot avatars in a chat or user list",
 "page_title": "How to use small robot avatars in a chat or user list with Robot Heads",
 "summary": "Drop a compact robot head into list rows using the antenna-free small size option.",
 "who": "A developer building a list of agents or bots, such as a sidebar of chat assistants, where each row needs a small avatar.",
 "problem": "A full-size robot with an antenna wastes space in a small avatar slot, and list layouts can clip animations.",
 "outcome": "Compact robot avatars in each row that fill their box, with a clear accessible label for screen readers.",
 "steps": [
  "Run `npm install robot-heads` in the project.",
  "Render RobotHead in each list row with antenna={false} and a small size.",
  "Pass your own aria-label if the default state label does not describe the bot.",
  "Check that the row container does not use overflow: hidden around the avatar, since hops would be cut off.",
  "Scroll the list and confirm the avatars sit flush with the text in each row."
 ],
 "agent_prompt": "In the React project at <project path>, install robot-heads and render a list of agent avatars using RobotHead with antenna={false} and a small size. Expected output: a list component where each avatar keeps its state and has an aria-label. Verify that no parent element in the list uses overflow: hidden around the avatar.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README notes that antenna={false} only drops the stem and light, so the bot still needs the default knob on top and the square or circle shape will look best at small sizes.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "A React project on React 18 or newer, since React is a peer dependency",
  "Node.js with npm, or pnpm if you plan to work on the library source",
  "A way to map your agent's status values to the nine states the library supports"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/fayazara-robot-heads/robot-avatars-in-chat-list/",
 "md": "https://dedupedai.com/use-cases/fayazara-robot-heads/robot-avatars-in-chat-list/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/fayazara-robot-heads--robot-avatars-in-chat-list.json",
 "api_version": "v1"
}
