About
A dashboard metric card that shows a label, a large tabular value, and a delta chip colored green or red by its sign, with an invertDelta option for metrics like churn or latency where a drop is good.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Stat Card to your project and fits it to your theme.
Code
How Stat Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { StatCard } from "@/components/ui/stat-card";
export default function StatCardDemo() {
return (
<div className="w-full max-w-sm">
<StatCard
label="MRR"
value="$48,200"
delta="+8.2%"
footnote="vs last month"
/>
</div>
);
}















