# AI Action Confirmation

Operations agent that asks to drop production tables and shows the rows, size and last use of each one.

- id: `ai-action-confirmation`
- Page: https://agentic-ui-kit.com/components/ai-action-confirmation
- Live preview: https://agentic-ui-kit.com/live/component/ai-action-confirmation

## Install

```bash
agentic-ui add ai-action-confirmation
npx shadcn@4.17.0 add @agentic-ui/ai-action-confirmation
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york)
- **Capabilities:** human-in-the-loop-approval, impact-diff, field-level-before-after, impact-summary-counts, risk-levels, typed-confirmation-phrase, irreversible-acknowledgement, partial-approval, agent-note, expiry-countdown, execution-error-retry, empty-impact-state, modal-variant, keyboard-navigation
- **Intents:** orchestrate-agents, execute-flow, explore-detail, audit-trail
- **Suits domains:** ai-agents, ai-workspace, devtools, operations, saas, support
- **Interaction:** approve-reject, item-include-toggle, diff-disclosure, typed-confirmation, acknowledge-checkbox, keyboard-submit, modal-dialog
- **Screen role:** flow
- **Density:** medium
- **Dark mode:** yes
- **Use it for:** operations agent that asks to drop production tables and shows the rows, size and last use of each one, support agent that bulk-reassigns tickets and shows the before/after of assignee and priority, repository agent that deletes a branch after its name is typed, in a blocking modal, secret rotation or key revocation where the reviewer excludes items before approving
- **Avoid when:** actions with no side effects or trivial ones where friction adds nothing (run them directly), approving a multi-step plan before running it (use ai-plan-approval), reviewing AI-suggested text or code (use ai-suggestion-diff or code-diff-viewer)
- **Preserve when adapting:** risk-proportional-friction, dry-run-impact-diff, partial-approval-model, focus-to-outcome
- **Replace when adapting:** domain-copy, resource-types, agent-runtime-adapter, confirmation-phrase-policy
- **Adaptation effort:** low
- **Coupling:** low
- **Quality score:** 9.2/10
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** alert-dialog, badge, button, card, checkbox, input, label, textarea
- **Motion:** profile subtle, library css, reduced-motion fallback yes
- **Registry dependencies:** lib-primitives
