interface StatCardProps

Properties

value: string | number

The main metric value

label: string

Label describing the metric

Color variant

Theme color for primary variant

optional
darkMode: boolean

Enable dark mode support

optional
icon: string | HTMLElement

Optional icon (SVG string or element)

optional
trend: { direction: "up" | "down" | "neutral"; value: string; positive?: boolean; }

Trend indicator

optional
class: string

Additional classes

Usage

import { type StatCardProps } from ".";