About
A segmented customer metric above a compact payment or record summary with status and action.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Payment Summary Card to your project and fits it to your theme.
Code
How Payment Summary Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { PaymentSummaryCard } from "@/components/ui/dashboardcn-payment-summary-card"
export default function PaymentSummaryCardDemo() {
return (
<PaymentSummaryCard
className="w-full max-w-md"
metricLabel="Active customers"
value={2540}
progress={78}
progressLabel="78%"
legend={[{ label: "Paid" }, { label: "Free", color: "var(--muted)" }]}
title="Federal income tax"
rows={[
{ label: "Date", value: "March 24, 2025" },
{ label: "Amount", value: "$1,450.00" },
{ label: "Payment method", value: "•••• 4432" },
]}
status="Completed"
action={{ label: "View details", href: "#" }}
/>
)
}
















