Confirmation

A human-in-the-loop approve or reject card for a pending tool call.

$bunx shadcn@latest add @nx-ui/ai-confirmation
Registry item
Installs withai-typesalertbuttonutils

Interactive

A pending approval. Approve or reject to flip the card into its resolved state; the buttons disappear once a decision is made.

Resolved states

The card after a decision. When approved it confirms the action; when rejected it reports the cancellation.