interface StatCardProps

Properties

value: string | number

The main metric value

label: string

Label describing the metric

Color variant

optional
icon: string | HTMLElement

Optional icon (SVG string or element)

optional
class: string

Additional classes

Usage

import { type StatCardProps } from ".";