Skip to content

OverrideConfirmation

stable

High-stakes override with consequence preview and mandatory acknowledgment — no blind overrides, consequences always shown first

Human-in-the-Loop/Storybook ↗
import { OverrideConfirmation } from "@danagraph/design-system/patterns"
Loading demo…

Props

agentrequired
Type stringDefault —

Agent being overridden.

agentTaskrequired
Type stringDefault —

What the agent was doing.

overrideTitlerequired
Type stringDefault —

Override action title.

overrideDescriptionrequired
Type stringDefault —

What the override does.

consequencesrequired
Type OverrideConsequence[]Default —

Array of { id, severity, label, detail? } where severity is "critical" | "high" | "medium".

acknowledgmentText
Type stringDefault —

Custom acknowledgment statement.

onConfirm
Type () => voidDefault —

Called on confirmed override.

onCancel
Type () => voidDefault —

Called on cancel.

semantictypebordersurface
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?