Agentic control

Approval card

Use when the agent has stopped at a fork and needs the user to pick one path before it continues.

Human-in-the-loop question before the agent acts.

Part of Agentic control. The stage where the agent stops answering and starts doing. It covers the whole handover: agreeing what the agent may do, watching it work, stepping in, and checking what changed afterwards. Reach for these as soon as an action touches a customer, money or a record.

Do

Don't

States

Usage

import { ApprovalCardPattern } from "./halaska-kit";

<ApprovalCardPattern
  question="How should I reply to Acme's outage complaint?"
  options={[
    { id: "workaround", title: "Reply now with a workaround", sub: "Unblocks Acme today" },
    { id: "wait", title: "Wait for the fix to ship", sub: "Priya's patch lands Thursday" },
  ]}
  onApprove={(option) => resume(option.id)}
  onSkip={() => hold()}
/>

ApprovalCardPattern props

Built from

Agent Glyph, Badge, Button, Card, Radio Group, Stack, Typography

Related patterns

Plan preview, Handoff

Halaska UI · Components · Patterns · Screens · Install