Components/StatsCard

StatsCard

Metric display card with icon, trend indicator, and loading skeleton.

Installation

Examples

With trend and icon

Positive/negative trend with icon in top-right.

Total Revenue

$48,295

+12.5%

Active Users

3,842

+8.1%

Bounce Rate

24.3%

-3.2%

Avg. Session

4m 32s

+0.8%

API Reference

PropTypeDefaultDescription
title*ReactNoderequiredMetric label.
value*ReactNoderequiredPrimary metric value.
iconReactNodeIcon displayed in the corner.
trend{ value: number; label?: string }Trend percentage and period label.
loadingbooleanfalseShows a skeleton placeholder.