#109
Shape and status
Large avatars showing the rounded shape and the four status indicators: online, busy, away and offline.
Hand this to your AI. It names the exact library parts, timings and accessibility promises of this demo.
Build the "Shape and status" pattern (@codeatlasdev/ui demo #109, display/avatar) in my app.
Call get_demo({ ids: ["#109"] }) first and keep its structure. It needs @codeatlasdev/[email protected].
Use: Presence in chat, team lists or support queues, plus a rounded avatar shape.
Keep these library parts, with the props and tokens the demo uses:
- Avatar from "@codeatlasdev/ui"
Behaviour to keep:
- `shape="rounded"` on `alt="Ana Lima"`
- `status="online"` on `alt="Online"`
- `status="busy"` on `alt="Busy"`
- `status="away"` on `alt="Away"`
- `status="offline"` on `alt="Offline"`
- All five use `size="lg"`
Reduced motion: the demo handles it; keep that branch.
Keyboard: not an interactive control.
Change only the copy and the data. Use the theme tokens (--ca-*), never raw colours. Library parts
- Avatar
@codeatlasdev/ui
How it is built
- `shape="rounded"` on `alt="Ana Lima"`
- `status="online"` on `alt="Online"`
- `status="busy"` on `alt="Busy"`
- `status="away"` on `alt="Away"`
- `status="offline"` on `alt="Offline"`
- All five use `size="lg"`
Related
Loading source.