Hiyve Components - v1.0.0
    Preparing search index...

    Interface StatCardProps

    interface StatCardProps {
        compact?: boolean;
        icon?: ReactNode;
        sx?: SxProps<Theme>;
        title: string;
        value: string | number;
    }
    Index

    Properties

    compact?: boolean

    Render as a compact inline chip instead of a full card

    icon?: ReactNode

    Icon displayed beside the value

    sx?: SxProps<Theme>

    MUI sx prop for the card

    title: string

    Metric label

    value: string | number

    Metric value