Skip to content
Browse library
BIU UI/Components/Approval Card
COMPONENTSPro

Approval Card

Explore the Approval Card component and try its interactive examples.

INTERACTIVE PREVIEW

Preview

Loading preview…
GET STARTED

Installation

BIU UI ProEarly Access · Coming Soon
Approval Card source is part of BIU UI Pro

The interactive preview and API reference are open to try right here. Full single-file TSX source and @biudev-pro/approval-card shadcn Registry installs are reserved for BIU UI Pro. Meanwhile, all 41 core components and 2 starter blocks are free and open source under MIT.

npx shadcn@latest add @biudev-pro/approval-card

Usage

Start with this example, then adjust the import path for your project.

EXAMPLE / TSX
import { ApprovalCard } from "@/components/ui/biu/approval-card";

export function Example() {
  return (
    <ApprovalCard
      title="Run staging migration"
      tool="shell.exec"
      risk="high"
      command="pnpm prisma migrate deploy"
      onDecision={(decision) => console.log(decision)}
    />
  );
}

Examples

Try each example or switch to its code.

API reference

Properties and defaults from the component source. An asterisk marks a required property; a dash means no explicit default.

ApprovalStatus

Also accepts properties from 'pending' & 'approved' & 'always-approved' & 'rejected'.

Some properties depend on the variant; consult the source for the full union.

ApprovalRisk

Also accepts properties from 'low' & 'medium' & 'high'.

Some properties depend on the variant; consult the source for the full union.

ApprovalDetail

ApprovalCardLabels

ApprovalCardProps

Source

BIU UI ProEarly Access · Coming Soon
Approval Card source is part of BIU UI Pro

The interactive preview and API reference are open to try right here. Full single-file TSX source and @biudev-pro/approval-card shadcn Registry installs are reserved for BIU UI Pro. Meanwhile, all 41 core components and 2 starter blocks are free and open source under MIT.

npx shadcn@latest add @biudev-pro/approval-card