Skip to content

Bot avatar

Animated subagent avatars from bot-avatars.

Size it with size, never with CSS, and leave room around it: it paints on a canvas one and a half times its box, and hops above it while working. FREE_BOT_TYPES lists the seven body types the system uses.

Types

States

Idle
Working
Sleeping

Sizes

24
32
48
64

Beside a status

Release notes check

Idle

Installation

npx shadcn@latest add @khaeli/bot-avatar

Install @khaeli/foundation first: this item's styling lives in its tokens and [data-slot] rules.

Installs with

npm packages
  • bot-avatars ^0.2.2

Accessible name

  • Alone, the canvas is an image named from its type and state, such as Flower bot, idle. Pass aria-label to name it yourself.
  • Beside a text status, hide it with aria-hidden so the status is read once.
  • With reduced motion it draws the still pose of its state and runs no animation.

Registry JSON

The item as the shadcn CLI reads it, with every file it ships: https://ui.khaeli.com/r/bot-avatar.json