"use client" import { LucideIcon } from "lucide-react" import { Card, CardContent } from "@/components/ui/card" interface StatsCardProps { title: string value: string | number icon: LucideIcon description?: string color?: "blue" | "green" | "purple" | "orange" | "pink" } const colorClasses = { blue: "bg-blue-100 text-blue-600", green: "bg-green-100 text-green-600", purple: "bg-purple-100 text-purple-600", orange: "bg-orange-100 text-orange-600", pink: "bg-pink-100 text-pink-600", } export function StatsCard({ title, value, icon: Icon, description, color = "blue", }: StatsCardProps) { return (

{title}

{value}

{description && (

{description}

)}
) }