import React from 'react'; import { LineChart, Line, BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer } from 'recharts'; import { TrendingUp, TrendingDown, Users, DollarSign, ShoppingCart, Activity } from 'lucide-react'; /** * Executive Dashboard Example * * High-level KPIs for leadership with: * - Revenue, users, conversion, growth metrics * - Trend indicators (up/down) * - Comparison to previous period * - Revenue trend chart (6 months) * - Top products bar chart */ interface KPICardProps { title: string; value: string; change: number; changeLabel: string; icon: React.ReactNode; positive?: boolean; } function KPICard({ title, value, change, changeLabel, icon, positive = true }: KPICardProps) { const isPositive = change >= 0; const trendColor = (isPositive && positive) || (!isPositive && !positive) ? '#10b981' : '#ef4444'; return (