diff --git a/frontend/components/StatCard.tsx b/frontend/components/StatCard.tsx new file mode 100644 index 00000000..5387ce01 --- /dev/null +++ b/frontend/components/StatCard.tsx @@ -0,0 +1,27 @@ +import React from 'react'; +import { LucideIcon } from 'lucide-react'; + +interface StatCardProps { + label: string; + value: number; + icon?: LucideIcon; +} + +export default function StatCard({ label, value, icon: Icon }: StatCardProps) { + return ( +
+ {/* Icon + Label Container */} +
+ {Icon && } + + {label} + +
+ + {/* Number (Right) */} + + {value} + +
+ ); +}