Free components for building your own support agent — bring any backend.Want the agent too? Inflection resolves support requests inside your app.

Agent

Confirm card

The gate in front of an action the agent wants to take. Shows every argument; reject is never the harder path.

Install

npx shadcn@latest add https://ui.inflection.network/r/confirm-card.json

Pulls in utils automatically.

Usage

I can cancel this order and refund it to your card.

  • Cancel order
    order
    1032
    refund
    £48.00
    card
    •••• 4242

Props

NameTypeDescription
text*stringWhat the agent wants to do, in one sentence.
calls*ProposedCall[]`{ name, args? }`. Every argument is shown — approving what you cannot see is not consent.
onApprove*() => void
onReject*() => void
busybooleanDisables both buttons, so a double-click cannot approve twice.

* required