DocsData & ChartsStat Card

Stat Card

Data

Key metric display card with auto-formatted values, sparkline charts, change indicators, and optional icons.

Import
import { FqStatCard } from '@/components/harlowui/data/fq-charts'

Formats

Supports currency, number, percent, and text formats with automatic formatting.

Total Revenue
+12.4%
$2,400,000.00
vs last month
Active Users
+8.2%
84K
vs last month
Fraud Rate
-15.3%
0.0%
vs last month
Uptime
99.98%

Without Sparkline

Balance
+4.2%
$31,600.00
vs last month
Transactions
-2.1%
1.3K
vs last month
Success Rate
+0.3%
1.0%
vs last month

API Reference

PropTypeDefaultDescription
title*string-Metric label
value*number | string-Metric value
format"currency" | "number" | "percent" | "text""currency"Value formatting mode
changenumber-Percentage change indicator (positive = green, negative = red)
changeLabelstring-Label for the change indicator
iconLucideIcon-Icon component to display
sparklineDatanumber[]-Data points for the sparkline chart
currencystring"USD"Currency code for currency format