Approval Card
A human-in-the-loop decision surface for questions, review steps, and consequential actions.
Publish this release?
The agent will publish 14 locally authored components to the public registry.
Installation
Add the component source directly to your project.
pnpm dlx shadcn@latest add https://pastaui.com/r/approval-card.jsonAPI reference
Approval Card
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | — | States the decision being requested. |
options | ApprovalOption[] | Approve / Deny | Provides one or more possible responses. |
onDecision | (value: string) => void | — | Receives the selected decision. |