Skip to content

ApprovalGate

stable

Binary approve/deny gate with ceremony-level friction

TrustInteractive/Storybook ↗
import { ApprovalGate } from "@danagraph/design-system"
Loading demo…

Props

actionrequired
Type stringDefault —

Description of the action requiring approval

agentrequired
Type stringDefault —

Agent requesting approval

onApprove
Type (reason?: string) => voidDefault —

Called on approval

onReject
Type (reason?: string) => voidDefault —

Called on rejection

requireReason
Type booleanDefault —

Require typed reason before action

semantictypebordersurface
MobileTouch Target

Approve/reject actions must be ≥44px with clear spacing between them. On mobile, stack actions vertically. Never place two destructive actions adjacent without a separator.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?