interface StatCardProps { title: string; value: string | number; subtitle?: string; trend?: 'up' | 'down' | 'neutral'; accent?: 'blue' | 'green' | 'amber' | 'violet'; } const accentRing: Record, string> = { blue: 'from-blue-500/20 to-transparent', green: 'from-emerald-500/20 to-transparent', amber: 'from-amber-500/20 to-transparent', violet: 'from-violet-500/20 to-transparent', }; export function StatCard({ title, value, subtitle, trend = 'neutral', accent = 'blue', }: StatCardProps) { const trendColor = trend === 'up' ? 'text-emerald-400' : trend === 'down' ? 'text-red-400' : 'text-[var(--color-text-muted)]'; return (

{title}

{value}

{subtitle &&

{subtitle}

}
); }