Skip to content
Twentyfirst UIPro

Agent Card

AI · AgentCard, AgentDetails, Button

View as Markdown

One agent at a glance (AgentCard) and everything about it beside a chat (AgentDetails).

AgentCard: name, role, tint, status + statusLabel, model, cost, last, onClick, onChat. AgentDetails: name, role, tint, status + statusLabel, sections ({title, meta, items (KeyValue) or children, open}), actions.

AtlasSupport triage
Working
Model
Claude Sonnet 5.5
Cost today
€1.84
Last action
Drafted a reply to Northwind
LedgerBookkeeping
Waiting for approval
Model
Claude Haiku 5.5
Cost today
€0.22
Last action
Proposed 3 bookings
AtlasSupport triage · NorthwindWorking
Model
Claude Sonnet 5.5
Today
€1.84
This month
€38.20
Runs
142
Mailbox
read, draft
Knowledge base
read

Props

AgentCard

PropTypeNotes
namestringRequired
role?string
tint?Tint
status?Status
statusLabel?string
model?string
cost?string
last?ReactNode
onClick?() => void
onChat?() => void
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

AgentDetails

PropTypeNotes
namestringRequired
role?string
tint?Tint
status?Status
statusLabel?string
sections?{ title: string; meta?: ReactNode; items?: KeyValueItem[]; children?: ReactNode; open?: boolean; }[]
actions?ReactNode[]
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

Button

PropTypeNotes
variant?"primary" | "secondary" | "soft" | "ghost" | "danger" | "danger-solid"
size?"md" | "sm"
icon?IconName
iconRight?IconName
disabled?boolean
type?"button" | "submit" | "reset"
onClick?(e: MouseEvent<HTMLButtonElement>) => void
children?ReactNode
asChild?booleanRender the single child element (a link, a router Link) with the button's look instead of a <button>.
id?string
name?stringForm field name and value, sent with the form when this button submits it.
value?string
form?stringThe id of the form this button belongs to, when it sits outside it.
title?string
tabIndex?number
autoFocus?boolean
aria-label?string
aria-labelledby?string
aria-describedby?string
aria-expanded?boolean | "true" | "false"For disclosure and menu triggers: whether what the button controls is open.
aria-controls?string
aria-haspopup?boolean | "true" | "false" | "menu" | "listbox" | "tree" | "grid" | "dialog"
aria-pressed?boolean | "true" | "false" | "mixed"For toggle buttons.
aria-current?boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time"
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.