'use client' import { motion } from 'framer-motion' import { TrendingUp, TrendingDown } from 'lucide-react' import AnimatedCounter from './AnimatedCounter' interface KPICardProps { label: string value: number prefix?: string suffix?: string decimals?: number trend?: 'up' | 'down' | 'neutral' color?: string delay?: number subLabel?: string } export default function KPICard({ label, value, prefix = '', suffix = '', decimals = 0, trend = 'neutral', color = '#6366f1', delay = 0, subLabel, }: KPICardProps) { return ( {/* Glow effect */}

{label}

{trend !== 'neutral' && ( {trend === 'up' ? : } )}
{subLabel && (

{subLabel}

)} ) }