import * as React from "react" import { cn } from "../ui/utils" import { TrendingUp, TrendingDown, type LucideIcon } from "lucide-react" interface HeroCardProps extends React.ComponentProps<"div"> { icon: LucideIcon label: string value: string | number unit?: string trend?: { value: string direction: "up" | "down" label?: string } backgroundElement?: React.ReactNode watermarkIcon?: LucideIcon } function HeroCard({ icon: Icon, label, value, unit, trend, backgroundElement, watermarkIcon: WatermarkIcon, className, ...props }: HeroCardProps) { return (
{label}
{value} {unit && {unit}}
{trend && (