Badge
Compact read-only status or category pill set by the system.
Face or initials for a person (circle) or an organisation (square). Not a status chip and not a button.
A person (circle) or an organisation (square), xs 20 to xl 48. Presence is a mark plus a word. Badge is for status. Not a button.
A photo avatar at md, round. Variants shows initials, sizes, shapes and presence.

Always pass name. src is optional — a missing or broken image falls back to initials from name. Use kit Avatar only. Badge is not for people. Several people go in AvatarGroup. A Lucide User icon appears only if both the image and initials fail.
import { Avatar } from "agentic-ds-kit";From contracts/avatar.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| name | string | Yes | — | — |
| src | string | No | — | — |
| initials | string | No | — | Up to two letters, used instead of the ones taken from name. At size xs only the first letter shows. |
| size | xs | sm | md | lg | xl | No | md | xs 20 (12/16 caption, dense table; one initial, since two overflow the circle), sm 24 (14/20 table row), md 32 (two-line list), lg 40 (card or page header), xl 48 (profile header). Breaking: sm, md and lg were 32, 40 and 48; use md, lg and xl for the old sizes. |
| shape | circle | square | No | circle | circle for people, square for organisations (customers, vendors, workspaces). Square corners: xs and sm radius.sm, md radius.md, lg and xl radius.lg. |
| presence | online | away | offline | No | — | A corner mark with its own shape (solid, half, hollow) and a surface.card ring. The word (KitLabels online, away, offline) joins the accessible name, e.g. Ana Ruiz, Online. Also say it in visible text nearby, e.g. Online · ana@acme.com. |
| tone | enum | No | — | Fallback tint for initials; no effect while a photo shows. Left out, the tint is picked from the name (today's look). neutral bg-tray, info info-line, success success-line, warning caution-line, accent highlight-line, each with its matching -fg text. Use it to tell people apart in a list; it is not a status, so keep any status in words. neutral | info | success | warning | accent |