Skip to content

ReviewRequestCard

stable

Card surface for human review requests from an agent. Shows the decision context, confidence, urgency level, and approve/reject actions.

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

Props

requestIdrequired
Type stringDefault —

Unique review request identifier.

agentNamerequired
Type stringDefault —

Agent requesting review.

descriptionrequired
Type stringDefault —

What the agent wants reviewed.

confidence
Type numberDefault —

Agent confidence at time of request (0–1).

urgency
Type "low" | "medium" | "high" | "critical"Default —

Request urgency level.

onApprove
Type () => voidDefault —

Called on approval.

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

Called on rejection.

semanticsemantictypebordersurfacespace
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?