Skip to content

Metric Card

MetricCard displays key performance indicators and dashboard metrics.

Usage

MetricExample.tsx
import { MetricCard } from '@masumdev/rn-ui';
export function MetricExample() {
return (
<MetricCard
title="Total Downloads"
value="124.5k"
change="+14.2%"
trend="up"
/>
);
}

Props API

PropTypeDefaultDescription
titlestringMetric card label title.
valuestring | numberMain metric display value.
changestringPercentage or delta change text.
trend'up' | 'down' | 'neutral''up'Trend indicator direction.