Confirm action

Confirmation for a change Claude has prepared: what will happen, who it applies to, one confirm button, and what the change includes.

Display modes: inline · Source: MCP Apps for Claude kit · Inline card / Confirmation actions

Open live AppBridge playground →
Can you take care of this?

Here's what I found:

App

Set lead assignment permission

Sarah Johnsonsarah.johnson@company.com

Lead assignment permissions

  • Read/Edit access to Leads
  • Access to Lead Assignment Queue
  • View Lead Conversion History
  • Run Lead Assignment Rules
Inline height 0px fits
One confirm action; edits stay in the chat
Working, done and error states in place
Undo offered after success

#Installation

To get started, add the component to your project via the shadcn CLI:

$npx shadcn@latest add https://mcpblocks.dev/r/confirm-action.json

This also installs host-tokens, adding Claude's CSS variables and utilities like bg-host-bg to your stylesheet.

#Basic example

import { ConfirmAction } from "@/components/confirm-action"

<ConfirmAction
  title="Set lead assignment permission"
  subject={{ name: "Sarah Johnson", detail: "sarah.johnson@company.com" }}
  confirmLabel="Confirm assignment"
  onConfirm={() => app.callServerTool({ name: "assign_permission", arguments: { userId } })}
  details={{ heading: "Lead assignment permissions", items: permissions }}
  doneTitle="Permission assigned"
/>

#Component API

PropTypeDescription
titleReactNodeWhat will happen.
subject{ name, detail?, initials?, avatarColor? }The person or record it applies to.
onConfirm() => unknownReturn a promise to show the working state; a rejection shows the error state.
details{ heading, items[] }What the change includes, as a checklist.
statuspending | working | done | errorControl the state from outside.