import { Card, CardContent } from "@/components/ui/card"; interface Props { label: string; value: string; subtext?: string; } /** * Compact metric tile: label / value / optional subtext on the comfortable * density ramp (label `text-sm`, value `text-lg font-semibold`, subtext * `text-xs text-muted-foreground`). Same exported props as the MUI version. */ export function MetricCard({ label, value, subtext }: Props) { return ( {label} {value} {subtext ? ( {subtext} ) : null} ); }