Dev Design Library

Confirmation

An alert-based component for managing tool execution approval workflows with request, accept, and reject states.

Confirmation preview
Library
AI Elements
Framework
React
Type
component
License
Apache-2.0
Install
npx ai-elements@latest add confirmation
Files
  • packages/elements/src/confirmation.tsx
  • packages/shadcn-ui/components/ui/alert.tsx
  • packages/shadcn-ui/components/ui/button.tsx
  • packages/shadcn-ui/lib/utils.ts
Source
https://github.com/vercel/ai-elements

Categories

More from AI Elements