Skip to content

Browse components

← All components

Approval Card

Human-in-the-loop decision surface for reviews and questions.

Install
npx shadcn@latest add https://ui.anuragroy.dev/r/approval-card.json

Preview

Loading preview…

Installation

Add the component from this site. The shadcn CLI fetches the registry JSON over HTTPS — no named registry submission required.

Terminal
npx shadcn@latest add https://ui.anuragroy.dev/r/approval-card.json

GitHub fallback if the website is down:

Terminal
npx shadcn@latest add https://raw.githubusercontent.com/anurag-roy/ui.anuragroy.dev/main/public/r/approval-card.json

Usage

Import paths follow your components.json aliases. After install, the default path is @/components/ui/approval-card.

Import
import {  ApprovalCard,  ApprovalCardActions,  ApprovalCardContent,  ApprovalCardDescription,  ApprovalCardHeader,  ApprovalCardTitle} from "@/components/ui/approval-card"
example.tsx
import { Button } from "@/components/ui/button"import {  ApprovalCard,  ApprovalCardActions,  ApprovalCardContent,  ApprovalCardDescription,  ApprovalCardHeader,  ApprovalCardTitle,} from "@/components/ui/approval-card"export function Example() {  return (    <ApprovalCard>      <ApprovalCardHeader>        <ApprovalCardTitle>How many flavors should we launch?</ApprovalCardTitle>        <ApprovalCardDescription>          The agent needs a decision before it writes the plan.        </ApprovalCardDescription>      </ApprovalCardHeader>      <ApprovalCardContent />      <ApprovalCardActions>        <Button size="sm">Continue</Button>      </ApprovalCardActions>    </ApprovalCard>  )}

API Reference

ApprovalCard

Card layout for a pending human decision.

PropTypeDefault
classNamestring—